summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/tests/test_umath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py
index bae0c80cc..ce2de57f5 100644
--- a/numpy/core/tests/test_umath.py
+++ b/numpy/core/tests/test_umath.py
@@ -1265,7 +1265,7 @@ def test_reduceat():
def test_reduceat_empty():
"""Reduceat should work with empty arrays"""
- indices = np.array([], 'i8')
+ indices = np.array([], 'i4')
x = np.array([], 'f8')
result = np.add.reduceat(x, indices)
assert_equal(result.dtype, x.dtype)