[Numpy-svn] [numpy/numpy] e2e49c: BUG: fix where not filling string types properly

GitHub noreply at github.com
Wed Jun 4 18:44:17 EDT 2014


  Branch: refs/heads/maintenance/1.9.x
  Home:   https://github.com/numpy/numpy
  Commit: e2e49c73acaf5bbfd7d6a7d412218991d9899cec
      https://github.com/numpy/numpy/commit/e2e49c73acaf5bbfd7d6a7d412218991d9899cec
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M numpy/core/src/multiarray/multiarraymodule.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  BUG: fix where not filling string types properly

the copyswap part of where used the input arrays descriptions to copy
into the destination so if they had a smaller size the destination was
not properly padded with zeros.
Closes gh-4778


  Commit: b3ecb0957997684cd83c141649b8a4ea98b42654
      https://github.com/numpy/numpy/commit/b3ecb0957997684cd83c141649b8a4ea98b42654
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-06-04 (Wed, 04 Jun 2014)

  Changed paths:
    M numpy/core/src/multiarray/multiarraymodule.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  Merge pull request #4782 from juliantaylor/where-string-fix

BUG: fix where not filling string types properly


Compare: https://github.com/numpy/numpy/compare/7860d2ed526d...b3ecb0957997


More information about the Numpy-svn mailing list