[Numpy-svn] [numpy/numpy] fb4edf: BUG: field assignment in masked array did not rese...

GitHub noreply@github....
Sun Jun 16 08:17:55 CDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: fb4edf7caaf26ac21488ae0660d51560ec75d073
      https://github.com/numpy/numpy/commit/fb4edf7caaf26ac21488ae0660d51560ec75d073
  Author: Eric Firing <efiring@hawaii.edu>
  Date:   2013-06-16 (Sun, 16 Jun 2013)

  Changed paths:
    M numpy/ma/core.py
    M numpy/ma/tests/test_core.py

  Log Message:
  -----------
  BUG: field assignment in masked array did not reset mask; closes #2403

The previous behavior when setting a field after indexing to
select an element was suitable for the hard mask case, but
not for the default soft mask.  In addition, the _hardmask
value was not being set at all in the mvoid instance.  With
this changeset, the _hardmask is passed in and __setitem__
takes it into account.


  Commit: bb8c89db8bc5afd39dbe42d6f1f6657e769165d7
      https://github.com/numpy/numpy/commit/bb8c89db8bc5afd39dbe42d6f1f6657e769165d7
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-06-16 (Sun, 16 Jun 2013)

  Changed paths:
    M numpy/ma/core.py
    M numpy/ma/tests/test_core.py

  Log Message:
  -----------
  Merge pull request #3449 from efiring/mvoid_setitem

BUG: field assignment in masked array did not reset mask; closes #2403


Compare: https://github.com/numpy/numpy/compare/8e5ed9aa4c1a...bb8c89db8bc5


More information about the Numpy-svn mailing list