[Numpy-tickets] [NumPy] #989: masked_array results differ between inplace and regular operators
NumPy
numpy-tickets@scipy....
Mon Jan 26 11:40:10 CST 2009
#989: masked_array results differ between inplace and regular operators
----------------------------+-----------------------------------------------
Reporter: danielmcdonald | Owner: pierregm
Type: defect | Status: assigned
Priority: low | Milestone:
Component: numpy.ma | Version: 1.1.1
Severity: minor | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Changes (by pierregm):
* status: new => assigned
* priority: normal => low
* severity: normal => minor
Comment:
OK, I wouldn't call that a bug but a small defect. In the inplace example,
the mask is left as it is, while in the second example, it is
automatically shrunk to `nomask`, a special value equivalent to `False`
that indicates that no entry is invalid in the array.
This should not affect your results, but may have a slight impact on
performances (some operations are bypassed if the mask is `nomask` for
speed).
I'll see what I can do. Thanks for reporting!
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/989#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list