summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/umath/ufunc_object.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/core/src/umath/ufunc_object.c b/numpy/core/src/umath/ufunc_object.c
index 8c6d9bd64..1bdac0933 100644
--- a/numpy/core/src/umath/ufunc_object.c
+++ b/numpy/core/src/umath/ufunc_object.c
@@ -3470,9 +3470,6 @@ PyUFunc_Reduceat(PyUFuncObject *ufunc, PyArrayObject *arr, PyArrayObject *ind,
}
if (need_outer_iterator) {
- /* indices are already passed in correctly */
- assert(PyArray_DESCR(op[2])->type_num == NPY_INTP);
-
PyArray_Descr *op_dtypes[3] = {descrs[0], descrs[1], NULL};
npy_uint32 flags = NPY_ITER_ZEROSIZE_OK|