[Numpy-svn] [numpy/numpy] 237e81: BUG: Reshape of 0-sized arrays failed to work with...

GitHub noreply at github.com
Tue Nov 6 20:00:10 EST 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 237e816e203a2a5a190e23e28d945e0f089663ed
      https://github.com/numpy/numpy/commit/237e816e203a2a5a190e23e28d945e0f089663ed
  Author: Sebastian Berg <sebastian at sipsolutions.net>
  Date:   2012-11-01 (Thu, 01 Nov 2012)

  Changed paths:
    M numpy/core/src/multiarray/shape.c
    M numpy/core/tests/test_regression.py

  Log Message:
  -----------
  BUG: Reshape of 0-sized arrays failed to work without copy

This also adds a check for order=Keeporder which is not supported.
"closes Issue #2700"


  Commit: 0d275f114e49ef5f9569832be2743aa85c4bb4e1
      https://github.com/numpy/numpy/commit/0d275f114e49ef5f9569832be2743aa85c4bb4e1
  Author: Sebastian Berg <sebastian at sipsolutions.net>
  Date:   2012-11-01 (Thu, 01 Nov 2012)

  Changed paths:
    M numpy/core/src/multiarray/shape.c

  Log Message:
  -----------
  MNT: Remove _check_zeros from NewShape

_attempt_nocopy_reshape already handles this case fine. The only
purpose would be to slightly speed up this special case.


  Commit: 93be7c0ca93735faac3c9b03b6844a4f9ed90d71
      https://github.com/numpy/numpy/commit/93be7c0ca93735faac3c9b03b6844a4f9ed90d71
  Author: Stefan van der Walt <sjvdwalt at gmail.com>
  Date:   2012-11-06 (Tue, 06 Nov 2012)

  Changed paths:
    M numpy/core/src/multiarray/shape.c
    M numpy/core/tests/test_regression.py

  Log Message:
  -----------
  Merge pull request #2702 from seberg/issue2700

BUG: Reshape of 0-sized arrays failed to work without copy.


Compare: https://github.com/numpy/numpy/compare/526b7647ad3e...93be7c0ca937


More information about the Numpy-svn mailing list