[Numpy-svn] [numpy/numpy] fa040c: BUG: make np.squeeze always return an array, never...

GitHub noreply at github.com
Fri Feb 10 14:03:30 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: fa040cada9e832a6d23f359a4029953d14acca0a
      https://github.com/numpy/numpy/commit/fa040cada9e832a6d23f359a4029953d14acca0a
  Author: Eric Wieser <wieser.eric at gmail.com>
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
    M doc/release/1.13.0-notes.rst
    M numpy/core/src/multiarray/scalartypes.c.src
    M numpy/core/tests/test_numeric.py

  Log Message:
  -----------
  BUG: make np.squeeze always return an array, never a scalar

Fixes #8588


  Commit: 1b483c2398ce2de49f72b9005dfb92859e389914
      https://github.com/numpy/numpy/commit/1b483c2398ce2de49f72b9005dfb92859e389914
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
    M doc/release/1.13.0-notes.rst
    M numpy/core/src/multiarray/scalartypes.c.src
    M numpy/core/tests/test_numeric.py

  Log Message:
  -----------
  Merge pull request #8591 from eric-wieser/np.squeeze-scalar

BUG: make np.squeeze always return an array, never a scalar


Compare: https://github.com/numpy/numpy/compare/1b877254af08...1b483c2398ce


More information about the Numpy-svn mailing list