Skip to content

Commit

Permalink
Edit numpy core imports
Browse files Browse the repository at this point in the history
  • Loading branch information
robjmcgibbon committed Aug 14, 2024
1 parent 0086510 commit 6eb9f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swiftsimio/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@
heaviside,
matmul,
)
from numpy.core.umath import _ones_like
from numpy._core.umath import _ones_like

try:
from numpy.core.umath import clip
from numpy._core.umath import clip
except ImportError:
clip = None

Expand Down

0 comments on commit 6eb9f26

Please sign in to comment.