Skip to content

Commit

Permalink
Relief: Fix import from numpy.math
Browse files Browse the repository at this point in the history
  • Loading branch information
janezd committed Sep 23, 2024
1 parent 1d90230 commit ed02e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/preprocess/_relieff.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ from libcpp.algorithm cimport make_heap, pop_heap
# Import C99 features from numpy's npy_math (MSVC 2010)
# Note we cannot import isnan due to mixing C++ and C
# (at least on OSX the <cmath> undefines the isnan macro)
from numpy.math cimport INFINITY, NAN
from libc.math cimport INFINITY, NAN

ctypedef np.float64_t double
ctypedef np.int8_t[:] arr_i1_t
Expand Down

0 comments on commit ed02e75

Please sign in to comment.