Skip to content

Commit

Permalink
Fix eq -> equiv
Browse files Browse the repository at this point in the history
  • Loading branch information
f0uriest committed Mar 2, 2024
1 parent c48193c commit 011bf57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desc/compute/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def get_transforms(keys, obj, grid, jitable=False, **kwargs):
basis = getattr(obj, c + "_basis")
# first check if we already have a transform with a compatible basis
for transform in transforms.values():
if basis.eq(getattr(transform, "basis", None)):
if basis.equiv(getattr(transform, "basis", None)):
ders = np.unique(
np.vstack([derivs[c], transform.derivatives]), axis=0
).astype(int)
Expand Down

0 comments on commit 011bf57

Please sign in to comment.