]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix symengine_number_type_01 in Release mode 7925/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 15 Apr 2019 14:00:58 +0000 (16:00 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 15 Apr 2019 14:00:58 +0000 (16:00 +0200)
tests/symengine/symengine_number_type_01.cc

index d67bf54cb7c083717645a38a1223f8d3f334bfe5..074e8e86a740981e615d4e10c3f7b4ea908e4a49 100644 (file)
@@ -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
 

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.