Skip to content

Commit

Permalink
skip float32 with cumsum
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Aug 2, 2024
1 parent a19b501 commit 74c2a8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ def test_scans(data, array: dask.array.Array, func: str) -> None:
axis = array.ndim - 1

# Too many float32 edge-cases!
# if "cum" in func and array.dtype.kind == "f" and array.dtype.itemsize == 4:
# array = array.astype(np.float64)
if "cum" in func and array.dtype.kind == "f" and array.dtype.itemsize == 4:
assume(False)
numpy_array = array.compute()
assume((np.abs(numpy_array) < 2**53).all())

Expand Down

0 comments on commit 74c2a8f

Please sign in to comment.