summaryrefslogtreecommitdiff
path: root/scipy/base/ma.py
diff options
context:
space:
mode:
Diffstat (limited to 'scipy/base/ma.py')
-rw-r--r--scipy/base/ma.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scipy/base/ma.py b/scipy/base/ma.py
index fcb608445..79c09f115 100644
--- a/scipy/base/ma.py
+++ b/scipy/base/ma.py
@@ -686,7 +686,8 @@ class MaskedArray (object):
f = masked_print_option
else:
f = self.fill_value()
- return str(filled(self, f))
+ res = self.filled(f)
+ return str(res)
def __repr__(self):
"""Calculate the repr representation, using masked for fill if