From 87cf46471cc0d5f7335202788b1dd58ced49c679 Mon Sep 17 00:00:00 2001 From: kanschat Date: Wed, 20 Jun 2007 17:07:51 +0000 Subject: [PATCH] remove redoubled exception git-svn-id: https://svn.dealii.org/trunk@14792 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix.h | 6 +----- deal.II/lac/include/lac/sparse_matrix.templates.h | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index 6e9ef35637..d00c221956 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name: $ // -// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors +// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -1657,10 +1657,6 @@ class SparseMatrix : public virtual Subscriptor /** @addtogroup Exceptions * @{ */ - /** - * Exception - */ - DeclException0 (ExcNotCompressed); /** * Exception */ diff --git a/deal.II/lac/include/lac/sparse_matrix.templates.h b/deal.II/lac/include/lac/sparse_matrix.templates.h index 5d2e597ca6..236d13979a 100644 --- a/deal.II/lac/include/lac/sparse_matrix.templates.h +++ b/deal.II/lac/include/lac/sparse_matrix.templates.h @@ -130,7 +130,7 @@ SparseMatrix::operator = (const double d) Assert (d==0, ExcScalarAssignmentOnlyForZeroValue()); Assert (cols != 0, ExcNotInitialized()); - Assert (cols->compressed || cols->empty(), ExcNotCompressed()); + Assert (cols->compressed || cols->empty(), SparsityPattern::ExcNotCompressed()); if (val) std::fill_n (&val[0], cols->n_nonzero_elements(), 0.); -- 2.39.5