Skip to content

Commit

Permalink
Resolve warnings when accessing internal numpy objects
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Sep 19, 2024
1 parent 43582fc commit 2dd0eb8
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 2dd0eb8

Please sign in to comment.