[NumPy-Tickets] [NumPy] #1979: empty_like does not copy mask
NumPy Trac
numpy-tickets@scipy....
Mon Nov 14 16:42:59 CST 2011
#1979: empty_like does not copy mask
--------------------+-------------------------------------------------------
Reporter: mauro | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: Other | Version: 1.6.0
Keywords: |
--------------------+-------------------------------------------------------
If empty_like (and also zeros_like, ones_like) is called with a masked
array, then the returned array's mask is identical to the originals (i.e.
shares same reference).
I think what should happen is that a new mask is returned set to False.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1979>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list