Skip to content
Snippets Groups Projects
Commit eb52a4cb authored by Dmitri Naumov's avatar Dmitri Naumov Committed by GitHub
Browse files

Merge pull request #1341 from endJunction/NewtonIterationCountFix

[NL] Fix Newton max iterations counter comparison.
parents 937ccdea 78299554
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,7 @@ bool NonlinearSolver<NonlinearSolverTag::Newton>::solve(
minus_delta_x.setZero();
unsigned iteration = 1;
for (; iteration < _maxiter; ++iteration)
for (; iteration <= _maxiter; ++iteration)
{
BaseLib::RunTime time_iteration;
time_iteration.start();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment