From 883944b6ae207bc4fcacec83b363b1e8b732a1de Mon Sep 17 00:00:00 2001 From: prill Date: Sun, 3 Jun 2007 11:41:28 +0000 Subject: [PATCH] Corrected maximum iteration number for PETSc Richardson solver. git-svn-id: https://svn.dealii.org/trunk@14743 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/petsc_solver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5