diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-12-31 05:54:07 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-12-31 05:54:07 +0000 |
commit | b83dfabfe169f32533a84d76b7e35ae544cb15a0 (patch) | |
tree | 50f681a2ee4a6af25e4646d8cc9c2ec6d0b946d3 /scipy/base/ma.py | |
parent | c548d825f4bed8db889c9cc5928f5d073e6e3c12 (diff) | |
download | numpy-b83dfabfe169f32533a84d76b7e35ae544cb15a0.tar.gz |
Added other sort methods (heap, merge)
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. |