mirror of
https://github.com/Richard-Sti/csiborgtools_public.git
synced 2025-05-20 17:41:13 +00:00
Disable boundscheck
This commit is contained in:
parent
2ee1367ab4
commit
861c463b5f
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ def periodic_distance_two_points(p1, p2, boxsize):
|
|||
return dist**0.5
|
||||
|
||||
|
||||
@jit(nopython=True)
|
||||
@jit(nopython=True, boundscheck=False)
|
||||
def periodic_wrap_grid(pos, boxsize=1):
|
||||
"""Wrap positions in a periodic box."""
|
||||
for n in range(pos.shape[0]):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue