diff options
Diffstat (limited to 'numpy/lib/arraypad.py')
-rw-r--r-- | numpy/lib/arraypad.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/arraypad.py b/numpy/lib/arraypad.py index c30ef6bf5..3cfb1052a 100644 --- a/numpy/lib/arraypad.py +++ b/numpy/lib/arraypad.py @@ -1052,7 +1052,7 @@ def _normalize_shape(ndarray, shape, cast_to_int=True): arr = arr.repeat(2, axis=1) elif arr.shape[0] == ndims: # Input correctly formatted, pass it on as `arr` - arr = shape + pass else: fmt = "Unable to create correctly shaped tuple from %s" raise ValueError(fmt % (shape,)) |