summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/ufuncobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/ufuncobject.c b/numpy/core/src/ufuncobject.c
index d7ecb8a75..8cdba7718 100644
--- a/numpy/core/src/ufuncobject.c
+++ b/numpy/core/src/ufuncobject.c
@@ -1870,7 +1870,7 @@ construct_reduce(PyUFuncObject *self, PyArrayObject **arr, PyArrayObject *out,
(PyObject *)aar);
}
else {
- outsize == PyArray_MultiplyList(loop_i, aar->nd-1);
+ outsize = PyArray_MultiplyList(loop_i, aar->nd-1);
}
break;
case UFUNC_ACCUMULATE: