Skip to content

Commit fbe2dcf

Browse files
committed
Reorder imports for Windows
1 parent 38907d7 commit fbe2dcf

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

numexpr/msvc_function_stubs.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ inline bool signbitf2(float x) {
216216
return signbitf(x);
217217
}
218218

219-
inline float signf2(float x) {
220-
return signf(x);
221-
}
222219

223220

224221

numexpr/numexpr_config.hpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,10 @@ inline bool isnand(double x) { return !!std::isnan(x); }
6060
inline bool isinff_(float x) { return !!std::isinf(x); }
6161
inline bool isinfd(double x) { return !!std::isinf(x); }
6262
#endif
63-
63+
#include "bespoke_functions.hpp"
64+
#ifdef _WIN32 //need signf from bespoke_functions
65+
inline float signf2(float x) {
66+
return signf(x);
67+
}
68+
#endif
6469
#endif // NUMEXPR_CONFIG_HPP

0 commit comments

Comments
 (0)