Skip to content

Commit a19783c

Browse files
committed
Fixes for windows
1 parent 80b1336 commit a19783c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

numexpr/msvc_function_stubs.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ inline bool isfinitef_(float x) { return !!::_finite(x); } // MSVC has _finite
5454
inline bool isnanf_(float x) { return !!::_isnan(x); } // MSVC has _isnan
5555
inline bool isfinited(double x) { return !!::_finite(x); }
5656
inline bool isnand(double x) { return !!::_isnan(x); }
57-
inline bool isinfd(double x) { return !!::_isinf(x); }
58-
inline bool isinff_(float x) { return !!::_isinf(x); }
57+
58+
inline bool isinfd(double x) { return !!::isinf(x)(x); }
59+
inline bool isinff_(float x) { return !!::isinf(x)(x); }
5960

6061
/* Now the actual stubs */
6162

0 commit comments

Comments
 (0)