From 50e722fb256669f56023229e4ca7bc7a27cd941a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 11 Feb 2006 00:39:48 +0000 Subject: [PATCH] Some small changes. git-svn-id: https://svn.dealii.org/trunk@12312 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-20/step-20.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/deal.II/examples/step-20/step-20.cc b/deal.II/examples/step-20/step-20.cc index 53ad633f25..4c92daa0ef 100644 --- a/deal.II/examples/step-20/step-20.cc +++ b/deal.II/examples/step-20/step-20.cc @@ -483,9 +483,8 @@ class SchurComplement 1e-8*tmp1.l2_norm()); SolverCG<> cg (solver_control, vector_memory); - PreconditionSSOR<> precondition; - precondition.initialize(A.block(0,0)); - cg.solve (A.block(0,0), tmp2, tmp1, precondition); + cg.solve (A.block(0,0), tmp2, tmp1, + PreconditionIdentity()); std::cout << " " << solver_control.last_step() << " inner iterations needed to obtain convergence." -- 2.39.5