diff options
-rw-r--r-- | intern/elbeem/intern/isosurface.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/intern/elbeem/intern/isosurface.cpp b/intern/elbeem/intern/isosurface.cpp index dc2cf684200..de7bfe8e687 100644 --- a/intern/elbeem/intern/isosurface.cpp +++ b/intern/elbeem/intern/isosurface.cpp @@ -15,20 +15,19 @@ #include "particletracer.h" #include <algorithm> #include <stdio.h> +#include <cmath> #ifdef sun #include "ieeefp.h" #endif -#if __cplusplus < 201103L -#define isfinite finite -#endif - // just use default rounding for platforms where its not available #ifndef round #define round(x) (x) #endif +using std::isfinite; + /****************************************************************************** * Constructor *****************************************************************************/ |