(ftype)
| 4615 | |
| 4616 | @pytest.mark.parametrize('ftype', [np.float32, np.float64]) |
| 4617 | def test_memoverlap_accumulate(ftype): |
| 4618 | # Reproduces bug https://github.com/numpy/numpy/issues/15597 |
| 4619 | arr = np.array([0.61, 0.60, 0.77, 0.41, 0.19], dtype=ftype) |
| 4620 | out_max = np.array([0.61, 0.61, 0.77, 0.77, 0.77], dtype=ftype) |
| 4621 | out_min = np.array([0.61, 0.60, 0.60, 0.41, 0.19], dtype=ftype) |
| 4622 | assert_equal(np.maximum.accumulate(arr), out_max) |
| 4623 | assert_equal(np.minimum.accumulate(arr), out_min) |
| 4624 | |
| 4625 | @pytest.mark.parametrize("ufunc, dtype", [ |
| 4626 | (ufunc, t[0]) |
nothing calls this directly
no test coverage detected