From 31050f1e3813ae3452596a0bb2388c9de80a9ea9 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 7 Oct 2008 19:55:37 +0000 Subject: [PATCH] Use the proper dimensions for the maximal number of iterations. git-svn-id: https://svn.dealii.org/trunk@17134 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-22/step-22.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/examples/step-22/step-22.cc b/deal.II/examples/step-22/step-22.cc index bb32942295..a6e73ce1e3 100644 --- a/deal.II/examples/step-22/step-22.cc +++ b/deal.II/examples/step-22/step-22.cc @@ -1037,7 +1037,7 @@ void StokesProblem::solve () // The usual control structures for // the solver call are created... - SolverControl solver_control (system_matrix.block(0,0).m(), + SolverControl solver_control (solution.block(1).size(), 1e-6*schur_rhs.l2_norm()); SolverCG<> cg (solver_control); -- 2.39.5