]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
exception bug removed
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Sep 2004 08:46:30 +0000 (08:46 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Sep 2004 08:46:30 +0000 (08:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@9643 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 168a7dfe339c775d7360a6958e03fc97ecaed213..406ed114649a33cc634580571b983f67f7918e1e 100644 (file)
@@ -2065,7 +2065,7 @@ BlockVectorBase<VectorType>::
 operator == (const BlockVectorBase<VectorType2> &v) const
 {
   Assert (block_indices == v.block_indices,
-          ExcNotMatchingBlockSizes());
+          ExcDifferentBlockIndices());
   
   for (unsigned int i=0;i<n_blocks();++i)
     if ( ! (components[i] == v.components[i]))
index 6f4b79f31fe38456298c3e0d22bfa32e910bec84..ac17eca35c0147208462f645e3d5883ab80e5be2 100644 (file)
@@ -28,6 +28,12 @@ namespace LACExceptions
                                    */
   DeclException0 (ExcNotQuadratic);
 
+                                  /**
+                                   * Block indices of two block
+                                   * objects are different.
+                                   */
+  DeclException0(ExcDifferentBlockIndices);
+  
                                   /**
                                    * An error of a PETSc function was
                                    * encountered. Check the PETSc

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.