Skip to content

Commit

Permalink
set nopython=True for all numba.jit decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
David Verelst authored and davidovitch committed Nov 9, 2023
1 parent 1e9f11d commit abc1e1e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/wafo/_misc_numba.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# break


@jit(int64(int64[:], int8[:]))
@jit(int64(int64[:], int8[:]), nopython=True)
def _findcross(ind, y):
"""Returns indices to zero level crossings of y vector
Expand Down Expand Up @@ -471,7 +471,7 @@ def disufq(rA, iA, w, kw, h, g, nmin, nmax, m, n):
return rvec, ivec


@jit(int64(float64[:], float64[:], float64[:, :]))
@jit(int64(float64[:], float64[:], float64[:, :]), nopython=True)
def _findrfc3_astm(array_ext, a, array_out):
"""
Rain flow without time analysis
Expand Down Expand Up @@ -519,7 +519,8 @@ def _findrfc3_astm(array_ext, a, array_out):
return c_nr1 #, c_nr2]


@jit(int64(float64[:], float64[:], float64[:], float64[:], float64[:, :]))
@jit(int64(float64[:], float64[:], float64[:], float64[:], float64[:, :]),
nopython=True)
def _findrfc5_astm(array_ext, array_t, a, t, array_out):
"""
Rain flow with time analysis
Expand Down

0 comments on commit abc1e1e

Please sign in to comment.