From: Daniel Arndt Date: Mon, 15 Apr 2019 14:00:58 +0000 (+0200) Subject: Fix symengine_number_type_01 in Release mode X-Git-Tag: v9.1.0-rc1~202^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7925%2Fhead;p=dealii.git Fix symengine_number_type_01 in Release mode --- diff --git a/tests/symengine/symengine_number_type_01.cc b/tests/symengine/symengine_number_type_01.cc index d67bf54cb7..074e8e86a7 100644 --- a/tests/symengine/symengine_number_type_01.cc +++ b/tests/symengine/symengine_number_type_01.cc @@ -1125,7 +1125,7 @@ main() // No condition is met { -#if defined(DEAL_II_HAVE_FP_EXCEPTIONS) +#if defined(DEBUG) && defined(DEAL_II_HAVE_FP_EXCEPTIONS) fedisableexcept(FE_INVALID); #endif