[Numpy-svn] [numpy/numpy] 927e88: BUG: resizing empty array with complex dtype faile...

GitHub noreply at github.com
Wed Dec 2 15:58:54 EST 2015


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 927e8809cb566722b1bd0b15dca9f030f3cd29b9
      https://github.com/numpy/numpy/commit/927e8809cb566722b1bd0b15dca9f030f3cd29b9
  Author: Sebastian Berg <sebastian at sipsolutions.net>
  Date:   2015-12-02 (Wed, 02 Dec 2015)

  Changed paths:
    M numpy/core/fromnumeric.py
    M numpy/core/tests/test_numeric.py

  Log Message:
  -----------
  BUG: resizing empty array with complex dtype failed

This is because the dtype was passed into the new array as a
char, and many dtypes do not have a valid char representation.

Closes gh-6740


  Commit: 1a097894a6da019a1bc728f96eb40b33a584d05d
      https://github.com/numpy/numpy/commit/1a097894a6da019a1bc728f96eb40b33a584d05d
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-12-02 (Wed, 02 Dec 2015)

  Changed paths:
    M numpy/core/fromnumeric.py
    M numpy/core/tests/test_numeric.py

  Log Message:
  -----------
  Merge pull request #6758 from seberg/resize-empty

BUG: resizing empty array with complex dtype failed


Compare: https://github.com/numpy/numpy/compare/45ff55634c0d...1a097894a6da


More information about the Numpy-svn mailing list