From: Daniel Arndt Date: Sun, 3 Apr 2016 16:48:41 +0000 (+0200) Subject: Fix Exceptions if we are not in namespace dealii X-Git-Tag: v8.5.0-rc1~1147^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19a8f726800e25c380bbaacae6f6e7ce39d72ecd;p=dealii.git Fix Exceptions if we are not in namespace dealii --- diff --git a/include/deal.II/base/exceptions.h b/include/deal.II/base/exceptions.h index c70ba18ccc..2516115634 100644 --- a/include/deal.II/base/exceptions.h +++ b/include/deal.II/base/exceptions.h @@ -1103,7 +1103,7 @@ namespace StandardExceptions * @ingroup Exceptions */ #define AssertGlobalIndexRange(index,range) Assert((index) < (range), \ - ExcIndexRange((index),0,(range))) + dealii::ExcIndexRange((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(number))) + dealii::ExcNumberNotFinite(std::complex(number))) using namespace StandardExceptions;