From 63a48754fa8d9c98e9467557e80bfaf2de0ea436 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Fri, 2 Feb 2018 11:45:46 +0100
Subject: [PATCH] [PL] TimeLoop; Fix typo.

---
 ProcessLib/UncoupledProcessesTimeLoop.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ProcessLib/UncoupledProcessesTimeLoop.cpp b/ProcessLib/UncoupledProcessesTimeLoop.cpp
index d35b0a9b282..cb9a72748da 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;
-- 
GitLab