diff options
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r-- | numpy/core/src/arrayobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index dd96cee29..c40715208 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -8692,7 +8692,7 @@ PyArray_BroadcastToShape(PyObject *obj, intp *dims, int nd) it->dims_m1[i]; if (i > 0) it->factors[nd-i-1] = it->factors[nd-i] * \ - it->ao->dimensions[nd-i]; + dims[nd-i]; } PyArray_ITER_RESET(it); |