]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix Exceptions if we are not in namespace dealii 2451/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 3 Apr 2016 16:48:41 +0000 (18:48 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 3 Apr 2016 16:48:41 +0000 (18:48 +0200)
include/deal.II/base/exceptions.h

index c70ba18ccc15516677209effa4277f0c805addda..2516115634a433e95f7fbe3e8a5c0124fee65df0 100644 (file)
@@ -1103,7 +1103,7 @@ namespace StandardExceptions
  * @ingroup Exceptions
  */
 #define AssertGlobalIndexRange(index,range) Assert((index) < (range), \
-                                                   ExcIndexRange<types::global_dof_index>((index),0,(range)))
+                                                   dealii::ExcIndexRange<types::global_dof_index>((index),0,(range)))
 
 /**
  * An assertion that checks whether a number is finite or not. We explicitly
@@ -1115,7 +1115,7 @@ namespace StandardExceptions
  * @author Wolfgang Bangerth, 2015
  */
 #define AssertIsFinite(number) Assert(dealii::numbers::is_finite(number), \
-                                      ExcNumberNotFinite(std::complex<double>(number)))
+                                      dealii::ExcNumberNotFinite(std::complex<double>(number)))
 
 using namespace StandardExceptions;
 

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.