Skip to content

Commit 971ca78

Browse files
committed
Use njit to silence new numba warnings
1 parent a3b928e commit 971ca78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scri/utilities.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def shuffle(a):
372372
b_array_bit += shuffle_width
373373
return b
374374

375-
return nb.jit(shuffle)
375+
return nb.njit(shuffle)
376376

377377
else:
378378
# This function is almost the same as above, except for:
@@ -404,4 +404,4 @@ def unshuffle(b):
404404
b_array_bit += shuffle_width
405405
return a
406406

407-
return nb.jit(unshuffle)
407+
return nb.njit(unshuffle)

0 commit comments

Comments
 (0)