Skip to content

Commit

Permalink
Use njit to silence new numba warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
moble committed Jun 4, 2024
1 parent a3b928e commit 971ca78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scri/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def shuffle(a):
b_array_bit += shuffle_width
return b

return nb.jit(shuffle)
return nb.njit(shuffle)

else:
# This function is almost the same as above, except for:
Expand Down Expand Up @@ -404,4 +404,4 @@ def unshuffle(b):
b_array_bit += shuffle_width
return a

return nb.jit(unshuffle)
return nb.njit(unshuffle)

0 comments on commit 971ca78

Please sign in to comment.