8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
13 lines
462 B
Diff
13 lines
462 B
Diff
diff --git a/saga-gis/src/modules/imagery/imagery_maxent/me.cpp b/saga-gis/src/modules/imagery/imagery_maxent/me.cpp
|
|
index c5da854..d3e9cff 100755
|
|
--- a/src/modules/imagery/imagery_maxent/me.cpp
|
|
+++ b/src/modules/imagery/imagery_maxent/me.cpp
|
|
@@ -21,7 +21,7 @@
|
|
#ifdef _SAGA_MSW
|
|
#define isinf(x) (!_finite(x))
|
|
#else
|
|
-#define isinf(x) (!finite(x))
|
|
+#define isinf(x) (!isfinite(x))
|
|
#endif
|
|
|
|
/** The input array contains a set of log probabilities lp1, lp2, lp3
|