diff options
Diffstat (limited to 'scipy/base/ma.py')
-rw-r--r-- | scipy/base/ma.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy/base/ma.py b/scipy/base/ma.py index e0c81d8c8..3b8de05a3 100644 --- a/scipy/base/ma.py +++ b/scipy/base/ma.py @@ -610,7 +610,7 @@ class MaskedArray (object): def __array__ (self, t = None): "Special hook for numeric. Converts to numeric if possible." if self._mask is not None: - if oldnumeric.sometrue(oldnumeric.ravel(self._mask)): + if oldnumeric.ravel(self._mask).any(): raise MAError, \ """Cannot automatically convert masked array to numeric because data is masked in one or more locations. |