From: Florian Prill Date: Sun, 3 Jun 2007 11:41:28 +0000 (+0000) Subject: Corrected maximum iteration number for PETSc Richardson solver. X-Git-Tag: v8.0.0~10280 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ff5d45dd473c2381074bb89dc7e83df243499f7;p=dealii.git Corrected maximum iteration number for PETSc Richardson solver. git-svn-id: https://svn.dealii.org/trunk@14743 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/petsc_solver.cc b/deal.II/lac/source/petsc_solver.cc index 36102d81e0..dcda5b9d67 100644 --- a/deal.II/lac/source/petsc_solver.cc +++ b/deal.II/lac/source/petsc_solver.cc @@ -305,7 +305,7 @@ namespace PETScWrappers // where no residual is // available. KSPSetTolerances(ksp, PETSC_DEFAULT, this->solver_control.tolerance(), - PETSC_DEFAULT, this->solver_control.max_steps()); + PETSC_DEFAULT, this->solver_control.max_steps()+1); }