summaryrefslogtreecommitdiff
path: root/numpy/core/ma.py
diff options
context:
space:
mode:
authorsasha <sasha@localhost>2006-01-17 17:59:23 +0000
committersasha <sasha@localhost>2006-01-17 17:59:23 +0000
commit8706ede51b2d6c07f5afb1880f229f227b3795ae (patch)
treea34c4be8a4866319209566a5976e7eb8047b3619 /numpy/core/ma.py
parent76761ff119acab82da016358d13b8e4bb4c6c34d (diff)
downloadnumpy-8706ede51b2d6c07f5afb1880f229f227b3795ae.tar.gz
fixed filled(masked)
Diffstat (limited to 'numpy/core/ma.py')
-rw-r--r--numpy/core/ma.py2
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)