From: bangerth Date: Fri, 7 May 2010 19:45:28 +0000 (+0000) Subject: Make code a bit easier to read. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1adc2f5f8486c4fb8d7e8714310c78fd2706a02;p=dealii-svn.git Make code a bit easier to read. git-svn-id: https://svn.dealii.org/trunk@21096 0785d39b-7218-0410-832d-ea1e28bc413d --- 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);