From: bangerth Date: Sat, 9 Feb 2013 22:07:20 +0000 (+0000) Subject: Fix a thinko. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fecff8665ea01c17dcfd1a543697568a3b8cad4;p=dealii-svn.git Fix a thinko. git-svn-id: https://svn.dealii.org/trunk@28298 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/sparsity_pattern.h b/deal.II/include/deal.II/lac/sparsity_pattern.h index 252feb11fb..faa6e0ef46 100644 --- a/deal.II/include/deal.II/lac/sparsity_pattern.h +++ b/deal.II/include/deal.II/lac/sparsity_pattern.h @@ -1,7 +1,7 @@ //--------------------------------------------------------------------------- // $Id$ // -// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 by the deal.II authors +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -1005,8 +1005,9 @@ public: * Return whether this object stores only those entries that have been added * explicitly, or if the sparsity pattern contains elements that have been * added through other means (implicitly) while building it. For the current - * class, the result is true if and only if it is square because it then - * unconditionally stores the diagonal entries whether they have been added explicitly or not. + * class, the result is false if and only if it is square because it then + * unconditionally stores the diagonal entries whether they have been added + * explicitly or not. * * This function mainly serves the purpose of describing the current class * in cases where several kinds of sparsity patterns can be passed as @@ -1705,7 +1706,7 @@ inline bool SparsityPattern::stores_only_added_elements () const { - return store_diagonal_first_in_row; + return (store_diagonal_first_in_row == false); }