From 698585c5a20e4ee8ab77e2dbd634298dd7043aab Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Tue, 5 Jun 2001 19:23:25 +0000 Subject: [PATCH] logging of coefficients moved to proper place git-svn-id: https://svn.dealii.org/trunk@4744 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/solver_cg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/lac/include/lac/solver_cg.h b/deal.II/lac/include/lac/solver_cg.h index c4f4479640..df95f6aa67 100644 --- a/deal.II/lac/include/lac/solver_cg.h +++ b/deal.II/lac/include/lac/solver_cg.h @@ -256,9 +256,6 @@ SolverCG::solve (const MATRIX &A, print_vectors(it, x, g, d); - if (additional_data.log_coefficients) - deallog << "alpha-beta:" << alpha << '\t' << beta << std::endl; - conv = control().check(it,res); if (conv) break; @@ -269,6 +266,9 @@ SolverCG::solve (const MATRIX &A, gh = g*h; beta = gh/beta; + if (additional_data.log_coefficients) + deallog << "alpha-beta:" << alpha << '\t' << beta << std::endl; + d.sadd(beta,-1.,h); }; -- 2.39.5