Skip to content

Commit

Permalink
FIX Fixes utilsfast.pyx for compilation error (removes unsupported …
Browse files Browse the repository at this point in the history
…legacy int type).
  • Loading branch information
M1kol4j committed Nov 2, 2024
1 parent 817f89c commit 1103ee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helita/utils/utilsfast.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def replace_nans(np.ndarray[DTYPEf_t, ndim=2] array, int max_iter, float tol,
2 * kernel_size + 1),
dtype=DTYPEf )

cdef np.ndarray[np.int_t, ndim=1] inans
cdef np.ndarray[np.int_t, ndim=1] jnans
cdef np.ndarray[DTYPEi_t, ndim=1] inans
cdef np.ndarray[DTYPEi_t, ndim=1] jnans

# indices where array is NaN
inans, jnans = np.nonzero( np.isnan(array) )
Expand Down

0 comments on commit 1103ee3

Please sign in to comment.