aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2020-05-21 09:14:57 -0500
committerPjotr Prins2020-05-21 09:14:57 -0500
commitf112b0fa5f29651b5af8cb3bd1c2933f010c2960 (patch)
treeab8489bc226104be8eb70a2b3e20975c3c444172
parent2cacff6912f8d6cc045339880b339596196111d4 (diff)
downloadpangemma-f112b0fa5f29651b5af8cb3bd1c2933f010c2960.tar.gz
Fix new gcc error
-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)