From d7c77aae2d0766c9af901b3b98a23b0fedd70dc5 Mon Sep 17 00:00:00 2001 From: pierregm Date: Wed, 14 May 2008 22:08:33 +0000 Subject: extras : dropped the m prefix in mediff1d, mvander, mpolyfit mrecords: fixed __setitem__ to update the mask if needed. --- numpy/ma/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'numpy/ma/core.py') 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: -- cgit v1.2.1