From: David Wells Date: Mon, 13 May 2019 17:27:17 +0000 (-0400) Subject: cppcheck: initialize a member in the init list. X-Git-Tag: v9.1.0-rc1~18^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8142%2Fhead;p=dealii.git cppcheck: initialize a member in the init list. --- diff --git a/source/lac/trilinos_solver.cc b/source/lac/trilinos_solver.cc index 3642fbefb8..c522eeb076 100644 --- a/source/lac/trilinos_solver.cc +++ b/source/lac/trilinos_solver.cc @@ -362,13 +362,12 @@ namespace TrilinosWrappers const Epetra_LinearProblem &linear_problem) : initial_residual(std::numeric_limits::max()) , current_residual(std::numeric_limits::max()) + // Consider linear problem converged if any of the collection of + // criterion are met + , status_test_collection( + std_cxx14::make_unique( + AztecOO_StatusTestCombo::OR)) { - // Consider linear problem converged if any of the collection - // of criterion are met - status_test_collection = - std_cxx14::make_unique( - AztecOO_StatusTestCombo::OR); - // Maximum number of iterations Assert(max_steps >= 0, ExcInternalError()); status_test_max_steps =