Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Jul 26, 2024
1 parent 6986d3f commit fc649ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def test_scans(data, array, func):
if "cum" in func and array.dtype.kind == "f" and array.dtype.itemsize == 4:
array = array.astype(np.float64)
numpy_array = array.compute()
assume((numpy_array < 2**53).all())
assume((np.abs(numpy_array) < 2**53).all())

dtype = NUMPY_SCAN_FUNCS[func](numpy_array[..., [0]], axis=axis).dtype
expected = np.empty_like(numpy_array, dtype=dtype)
Expand Down

0 comments on commit fc649ef

Please sign in to comment.