diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-08-05 06:44:20 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-05 06:44:20 +0000 |
commit | 04d79b539391064f6a81fba9ffa45e6371ffcedd (patch) | |
tree | be47fa1a0fe4a0a41bfde371dfd0d0d16c397d1e /numpy/oldnumeric/ma.py | |
parent | d6eb562b8d4b37be1f2c6743bae5ea520703da64 (diff) | |
download | numpy-04d79b539391064f6a81fba9ffa45e6371ffcedd.tar.gz |
Fixes for the recent change to oldnumeric
Diffstat (limited to 'numpy/oldnumeric/ma.py')
-rw-r--r-- | numpy/oldnumeric/ma.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/numpy/oldnumeric/ma.py b/numpy/oldnumeric/ma.py index 15f23ff34..c78fcc200 100644 --- a/numpy/oldnumeric/ma.py +++ b/numpy/oldnumeric/ma.py @@ -1,11 +1,5 @@ +# Incompatibility in that getmask and a.mask returns nomask +# instead of None -from numpy.core.ma import getmask as _getmask, nomask as _nomask from numpy.core.ma import * -del getmask, nomask - -def getmask(a): - res = _getmask(a) - if res is _nomask: - return None - return res |