[Numpy-svn] [numpy/numpy] 1dacac: BUG: Use int for axes, not intp

GitHub noreply at github.com
Sat Feb 25 05:23:27 EST 2017


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

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

  Log Message:
  -----------
  BUG: Use int for axes, not intp

Rationale: typeof(PyArray_Dims.len) is int, so typeof(axis) should be the
same.


  Commit: e9246860480b6c909e6e00c1cd4371b0e5fee1ce
      https://github.com/numpy/numpy/commit/e9246860480b6c909e6e00c1cd4371b0e5fee1ce
  Author: Julian Taylor <juliantaylor108 at gmail.com>
  Date:   2017-02-25 (Sat, 25 Feb 2017)

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

  Log Message:
  -----------
  Merge pull request #8672 from eric-wieser/patch-8584

BUG: Use int for axes, not intp


Compare: https://github.com/numpy/numpy/compare/7bc881d053d3...e9246860480b


More information about the Numpy-svn mailing list