]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Allow use of AssertDimension without 'using namespace dealii'
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Jan 2014 16:40:32 +0000 (16:40 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Jan 2014 16:40:32 +0000 (16:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@32266 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/exceptions.h

index 635c50d048e48f90995c9a2d98fbc46e0f2f161e..a3d4a3eab6d893440c9994d88898d91ba7e747c5 100644 (file)
@@ -856,7 +856,7 @@ namespace StandardExceptions
  * @author Guido Kanschat 2007
  */
 #define AssertDimension(dim1,dim2) Assert((dim1) == (dim2),       \
-                                          ExcDimensionMismatch((dim1),(dim2)))
+                                          dealii::ExcDimensionMismatch((dim1),(dim2)))
 
 
 /**
@@ -886,7 +886,7 @@ namespace StandardExceptions
  * @author Guido Kanschat 2007
  */
 #define AssertIndexRange(index,range) Assert((index) < (range), \
-                                             ExcIndexRange((index),0,(range)))
+                                             dealii::ExcIndexRange((index),0,(range)))
 
 #define AssertGlobalIndexRange(index,range) Assert((index) < (range), \
                                                    ExcIndexRange<types::global_dof_index>((index),0,(range)))

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.