From 4c309682111647d4d12a80bdcd05335164d15228 Mon Sep 17 00:00:00 2001 From: David Wells Date: Mon, 13 May 2019 13:27:17 -0400 Subject: [PATCH] cppcheck: initialize a member in the init list. --- source/lac/trilinos_solver.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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 = -- 2.39.5