From 9de651ea6d2b7fe40ed34c40949693766b2e27dd Mon Sep 17 00:00:00 2001 From: guido Date: Mon, 27 Nov 2000 15:16:40 +0000 Subject: [PATCH] Count first iteration, too git-svn-id: https://svn.dealii.org/trunk@3508 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/solver_gmres.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deal.II/lac/include/lac/solver_gmres.h b/deal.II/lac/include/lac/solver_gmres.h index 52179ed200..0e84368b46 100644 --- a/deal.II/lac/include/lac/solver_gmres.h +++ b/deal.II/lac/include/lac/solver_gmres.h @@ -312,9 +312,10 @@ unsigned int dim = 0; ((inner_iteration < n_tmp_vectors-2) && (iteration_state==SolverControl::iterate)); - ++inner_iteration, ++accumulated_iterations) + ++inner_iteration) { - // yet another alias + ++accumulated_iterations; + // yet another alias VECTOR& vv = *tmp_vectors[inner_iteration+1]; if (left_precondition) -- 2.39.5