diff options
Diffstat (limited to 'numpy/core/ma.py')
-rw-r--r-- | numpy/core/ma.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/ma.py b/numpy/core/ma.py index 27831fdde..f7024d4a8 100644 --- a/numpy/core/ma.py +++ b/numpy/core/ma.py @@ -1248,7 +1248,7 @@ array(data = %(data)s, value = fill_value if self is masked: - result = numeric.array(value).reshape(*d.shape) + result = numeric.array(value) else: try: result = numeric.array(d, dtype=d.dtype, copy=1) |