]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Declare missing exception.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Sep 2004 07:05:37 +0000 (07:05 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Sep 2004 07:05:37 +0000 (07:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@9642 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/block_vector_base.h

index 5ac797a48d8cfe00c6bce6e3c7db024c594f88c7..168a7dfe339c775d7360a6958e03fc97ecaed213 100644 (file)
@@ -969,7 +969,16 @@ class BlockVectorBase
                                      */
     void equ (const value_type a, const BlockVectorBase& V,
              const value_type b, const BlockVectorBase& W);
-
+      
+                                    /** @addtogroup Exceptions
+                                     * @{ */
+    
+                                    /**
+                                     * Exception.
+                                     */
+    DeclException0 (ExcNotMatchingBlockSizes);
+                                    //@}
+    
   protected:
                                     /**
                                      * Pointer to the array of components.
@@ -2056,7 +2065,7 @@ BlockVectorBase<VectorType>::
 operator == (const BlockVectorBase<VectorType2> &v) const
 {
   Assert (block_indices == v.block_indices,
-          ExcNotmatchingBlockSizes());
+          ExcNotMatchingBlockSizes());
   
   for (unsigned int i=0;i<n_blocks();++i)
     if ( ! (components[i] == v.components[i]))

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.