diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-07-02 05:30:14 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-07-02 05:30:14 +0000 |
commit | 9ad24c52f3dd0cb3bfdc524214aad1c6e31e70cc (patch) | |
tree | 4f4483031a7afadb61a212b1fe0700f83cee7e3c /numpy/core/ma.py | |
parent | da42cda6ebd4666299c1287b8fdec82df15197fe (diff) | |
download | numpy-9ad24c52f3dd0cb3bfdc524214aad1c6e31e70cc.tar.gz |
Fix up failing tests.
Diffstat (limited to 'numpy/core/ma.py')
-rw-r--r-- | numpy/core/ma.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/core/ma.py b/numpy/core/ma.py index 95c030746..efe312f21 100644 --- a/numpy/core/ma.py +++ b/numpy/core/ma.py @@ -1388,6 +1388,9 @@ array(data = %(data)s, self._mask = make_mask (self._mask, copy=1, flag=0) self._shared_mask = 0 + def _get_ctypes(self): + return self._data.ctypes + shape = property(_get_shape, _set_shape, doc = 'tuple giving the shape of the array') @@ -1402,6 +1405,8 @@ array(data = %(data)s, imag = imaginary + ctypes = property(_get_ctypes, None, doc="ctypes") + #end class MaskedArray array = MaskedArray |