From 19a8f726800e25c380bbaacae6f6e7ce39d72ecd Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 3 Apr 2016 18:48:41 +0200 Subject: [PATCH] Fix Exceptions if we are not in namespace dealii --- include/deal.II/base/exceptions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5