Skip to content

Commit

Permalink
Use the less helper in test_clip
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Jul 16, 2024
1 parent fbec5fd commit c0ec0bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ def test_clip(x, data):
), label="max")

# min > max is undefined (but allow nans)
assume(min is None or max is None or not xp.any(xp.asarray(min) > xp.asarray(max)))
assume(min is None or max is None or not xp.any(ah.less(xp.asarray(max), xp.asarray(min))))

kw = data.draw(
hh.specified_kwargs(
Expand Down

0 comments on commit c0ec0bb

Please sign in to comment.