From: Jean-Paul Pelteret Date: Mon, 5 Dec 2016 16:42:30 +0000 (+0100) Subject: Fixed condition in assert checking for convergence in nonlinear solver X-Git-Tag: v8.5.0-rc1~344^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b95e0fa39be0796d565e01a5c1eab69c038afe;p=dealii.git Fixed condition in assert checking for convergence in nonlinear solver Fixes #3604 --- 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!")); }