From f39834f5765d85bc1aee58065eec2930b1a9c71e Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 25 Feb 2009 12:16:51 +0000 Subject: [PATCH] MSVC won't let us use 1/0 --- contrib/MathEval/xmath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/MathEval/xmath.cpp b/contrib/MathEval/xmath.cpp index 48c70da1bf..2fd8c6f85c 100644 --- a/contrib/MathEval/xmath.cpp +++ b/contrib/MathEval/xmath.cpp @@ -127,7 +127,7 @@ x_heavs(double x) //, double eps) #endif #if !defined(NAN) -#define NAN (1./0.) +#define NAN 1.100 #endif double -- GitLab