From: guido Date: Mon, 27 Nov 2000 15:16:40 +0000 (+0000) Subject: Count first iteration, too X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9de651ea6d2b7fe40ed34c40949693766b2e27dd;p=dealii-svn.git Count first iteration, too git-svn-id: https://svn.dealii.org/trunk@3508 0785d39b-7218-0410-832d-ea1e28bc413d --- 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)