]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
remove redoubled exception
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Jun 2007 17:07:51 +0000 (17:07 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Jun 2007 17:07:51 +0000 (17:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@14792 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix.h
deal.II/lac/include/lac/sparse_matrix.templates.h

index 6e9ef35637df21ae538aab90aa96d7bf9a2025e8..d00c221956f44cbb02fbcbcea802b6f0f09144ab 100644 (file)
@@ -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
                                      */
index 5d2e597ca6d520488f7cb839c8572c20bbb75bbd..236d13979a0b0976d0605bf550dea4f2bd057266 100644 (file)
@@ -130,7 +130,7 @@ SparseMatrix<number>::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.);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.