diff options
author | pierregm <pierregm@localhost> | 2008-05-14 22:08:33 +0000 |
---|---|---|
committer | pierregm <pierregm@localhost> | 2008-05-14 22:08:33 +0000 |
commit | d7c77aae2d0766c9af901b3b98a23b0fedd70dc5 (patch) | |
tree | 3df4d8b91677c64f0f64a53185052b2ded23bc0e /numpy/ma/core.py | |
parent | 8f60b4886081dbb6ba5ce0e6fc854473fd716151 (diff) | |
download | numpy-d7c77aae2d0766c9af901b3b98a23b0fedd70dc5.tar.gz |
extras : dropped the m prefix in mediff1d, mvander, mpolyfit
mrecords: fixed __setitem__ to update the mask if needed.
Diffstat (limited to 'numpy/ma/core.py')
-rw-r--r-- | numpy/ma/core.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py index 8e1e71e0a..1f5f84f19 100644 --- a/numpy/ma/core.py +++ b/numpy/ma/core.py @@ -1354,7 +1354,8 @@ class MaskedArray(numeric.ndarray): # raise IndexError, msg if isinstance(indx, basestring): ndarray.__setitem__(self._data,indx, getdata(value)) - warnings.warn("The mask is NOT affected!") + warnings.warn("MaskedArray.__setitem__ on fields: "\ + "The mask is NOT affected!") return #.... if value is masked: |