diff options
| -rw-r--r-- | numpy/random/_common.pyx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/random/_common.pyx b/numpy/random/_common.pyx index fd5f8addc..6d77aed03 100644 --- a/numpy/random/_common.pyx +++ b/numpy/random/_common.pyx @@ -219,7 +219,8 @@ cdef np.ndarray int_to_array(object value, object name, object bits, object uint cdef validate_output_shape(iter_shape, np.ndarray output): - cdef np.npy_intp *shape, ndim, i + cdef np.npy_intp *shape + cdef ndim, i cdef bint error dims = np.PyArray_DIMS(output) ndim = np.PyArray_NDIM(output) |
