From: Wolfgang Bangerth Date: Tue, 7 Oct 2008 19:56:40 +0000 (+0000) Subject: Use the proper dimensions for the maximal number of iterations. X-Git-Tag: v8.0.0~8580 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edadac4c49c81f9df5c26ae8fe8ff08045a5d77a;p=dealii.git Use the proper dimensions for the maximal number of iterations. git-svn-id: https://svn.dealii.org/trunk@17135 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-20/step-20.cc b/deal.II/examples/step-20/step-20.cc index cf6aab0ad9..36f38faf29 100644 --- a/deal.II/examples/step-20/step-20.cc +++ b/deal.II/examples/step-20/step-20.cc @@ -1020,7 +1020,7 @@ void MixedLaplaceProblem::solve () preconditioner (approximate_schur_complement); - SolverControl solver_control (system_matrix.block(0,0).m(), + SolverControl solver_control (solution.block(1).size(), 1e-12*schur_rhs.l2_norm()); SolverCG<> cg (solver_control);