diff --git a/ProcessLib/UncoupledProcessesTimeLoop.cpp b/ProcessLib/UncoupledProcessesTimeLoop.cpp index d35b0a9b2825359acfba1f1dcc11f513fa53d5fa..cb9a72748dae4648b05706193acada4664c79422 100644 --- a/ProcessLib/UncoupledProcessesTimeLoop.cpp +++ b/ProcessLib/UncoupledProcessesTimeLoop.cpp @@ -883,7 +883,7 @@ bool UncoupledProcessesTimeLoop::solveCoupledEquationSystemsByStaggeredScheme( conv_crit->preFirstIteration(); } } - auto resetCouplingConvergenceCtiteria = [&]() { + auto resetCouplingConvergenceCriteria = [&]() { for (auto& conv_crit : _global_coupling_conv_crit) { conv_crit->reset(); @@ -893,7 +893,7 @@ bool UncoupledProcessesTimeLoop::solveCoupledEquationSystemsByStaggeredScheme( bool coupling_iteration_converged = true; for (unsigned global_coupling_iteration = 0; global_coupling_iteration < _global_coupling_max_iterations; - global_coupling_iteration++, resetCouplingConvergenceCtiteria()) + global_coupling_iteration++, resetCouplingConvergenceCriteria()) { // TODO(wenqing): use process name bool nonlinear_solver_succeeded = true;