From 4bcc9b57a5f09aced2aa4dea565f3a22acccf38c Mon Sep 17 00:00:00 2001 From: David Verelst Date: Wed, 8 Nov 2023 12:08:49 +0100 Subject: [PATCH] set nopython=True for all numba.jit decorators --- src/wafo/_misc_numba.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/wafo/_misc_numba.py b/src/wafo/_misc_numba.py index 743c146..9b3f85c 100644 --- a/src/wafo/_misc_numba.py +++ b/src/wafo/_misc_numba.py @@ -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 @@ -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 @@ -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