From: David Wells Date: Thu, 18 Aug 2016 03:05:17 +0000 (-0400) Subject: Correctly increment a step counter. X-Git-Tag: v8.5.0-rc1~758^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a361eed906707fe3f04c8c0593417d18c8bd03a9;p=dealii.git Correctly increment a step counter. This was caught by cppcheck. --- diff --git a/include/deal.II/lac/solver_bicgstab.h b/include/deal.II/lac/solver_bicgstab.h index 7b097ebb25..da2141f852 100644 --- a/include/deal.II/lac/solver_bicgstab.h +++ b/include/deal.II/lac/solver_bicgstab.h @@ -475,6 +475,7 @@ SolverBicgstab::solve(const MatrixType &A, break; } state = iterate(A, precondition); + ++step; } while (state.breakdown == true);