From 827f4bd092ca0149b0f2b67b92b9b2dd984099d7 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 7 May 2010 19:45:28 +0000 Subject: [PATCH] Make code a bit easier to read. git-svn-id: https://svn.dealii.org/trunk@21096 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/solver_cg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/lac/include/lac/solver_cg.h b/deal.II/lac/include/lac/solver_cg.h index a13dbd2afc..3f182e64da 100644 --- a/deal.II/lac/include/lac/solver_cg.h +++ b/deal.II/lac/include/lac/solver_cg.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -376,7 +376,7 @@ SolverCG::solve (const MATRIX &A, print_vectors(it, x, g, d); conv = this->control().check(it,res); - if (conv) + if (conv != SolverControl::iterate) break; precondition.vmult(h,g); -- 2.39.5