From: prill Date: Sun, 3 Jun 2007 11:41:28 +0000 (+0000) Subject: Corrected maximum iteration number for PETSc Richardson solver. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=883944b6ae207bc4fcacec83b363b1e8b732a1de;p=dealii-svn.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); }