]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add assertions.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 22 Nov 2001 14:21:59 +0000 (14:21 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 22 Nov 2001 14:21:59 +0000 (14:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@5240 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/matrices.h

index 1b8fb351a1ca187336dbf195141671163aeca663..b229003348ab9e49721a41f2554dd652630f2748 100644 (file)
@@ -383,7 +383,14 @@ class MatrixCreator
                                     /**
                                      * Exception
                                      */
-    DeclException0 (ExcComponentMismatch);
+    DeclException0 (ExcComponentMismatch);    
+                                    /**
+                                     * Exception
+                                     */
+    DeclException2 (ExcDimensionsDontMatch,
+                   int, int,
+                   << "The dimensions " << arg1 << " and " << arg2
+                   << " don't match.");
 
   private:
                                     /**
@@ -693,14 +700,7 @@ class MatrixTools : public MatrixCreator
                           BlockVector<double>                 &solution,
                           BlockVector<double>                 &right_hand_side,
                           const bool           eliminate_columns = true);
-    
-                                    /**
-                                     * Exception
-                                     */
-    DeclException2 (ExcDimensionsDontMatch,
-                   int, int,
-                   << "The dimensions " << arg1 << " and " << arg2
-                   << " don't match.");
+
                                     /**
                                      * Exception
                                      */

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.