[NumPy-Tickets] [NumPy] #1332: set_fill_value does not work properly for masked structured array
NumPy Trac
numpy-tickets@scipy....
Sun Feb 7 15:53:30 CST 2010
#1332: set_fill_value does not work properly for masked structured array
-------------------------+--------------------------------------------------
Reporter: robitaille | Owner: pierregm
Type: defect | Status: reopened
Priority: high | Milestone:
Component: numpy.ma | Version: devel
Resolution: | Keywords:
-------------------------+--------------------------------------------------
Comment(by pierregm):
OK, I think I know where the problem is: in the numpy.ma test suite,
``test_filledvalue_individual_fields`` uses a masked array with a
predefined fill_value. This one gets updated correctly (because there's
something to update). In your case, the fill_value of t isn't defined yet,
and t['a'].set_fill_value can't update it... I'm surprised it worked
before. Anyhow, I'm working on it.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1332#comment:7>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list