Skip to content

Commit

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

try:
from numpy.core.umath import clip
Expand Down Expand Up @@ -702,7 +701,6 @@ class cosmo_array(unyt_array):
divmod_: _passthrough_cosmo_factor,
isnat: _return_without_cosmo_factor,
heaviside: _preserve_cosmo_factor,
_ones_like: _preserve_cosmo_factor,
matmul: _multiply_cosmo_factor,
clip: _passthrough_cosmo_factor,
}
Expand Down

0 comments on commit daf8fdf

Please sign in to comment.