about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mathfunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mathfunc.h b/src/mathfunc.h
index e786e87..641d0a3 100644
--- a/src/mathfunc.h
+++ b/src/mathfunc.h
@@ -31,7 +31,7 @@
 using namespace std;
 
 inline bool is_nan(double f) {
-  return (std::isnan(f));
+  return (isnan(f));
 }
 
 #define is_inf(d) gsl_isinf(d)