From d6b95e0fa39be0796d565e01a5c1eab69c038afe Mon Sep 17 00:00:00 2001 From: Jean-Paul Pelteret Date: Mon, 5 Dec 2016 17:42:30 +0100 Subject: [PATCH] Fixed condition in assert checking for convergence in nonlinear solver Fixes #3604 --- examples/step-44/step-44.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/step-44/step-44.cc b/examples/step-44/step-44.cc index 2e271821ed..57a807e254 100644 --- a/examples/step-44/step-44.cc +++ b/examples/step-44/step-44.cc @@ -1926,7 +1926,7 @@ namespace Step44 // exception object that identify the location (filename and line number) // where the exception was raised to make it simpler to identify where the // problem happened. - AssertThrow (newton_iteration <= parameters.max_iterations_NR, + AssertThrow (newton_iteration < parameters.max_iterations_NR, ExcMessage("No convergence in nonlinear solver!")); } -- 2.39.5