[Numpy-svn] [numpy/numpy] cd8213: BUG: Fix apply_along_axis() for when func1d() retu...

GitHub noreply at github.com
Sat Dec 31 12:27:35 EST 2016


  Branch: refs/heads/maintenance/1.12.x
  Home:   https://github.com/numpy/numpy
  Commit: cd821332cd4d92643ce77b69ae2286bd4ff7b294
      https://github.com/numpy/numpy/commit/cd821332cd4d92643ce77b69ae2286bd4ff7b294
  Author: Ben Rowland <bennyrowland at mac.com>
  Date:   2016-12-31 (Sat, 31 Dec 2016)

  Changed paths:
    M numpy/lib/shape_base.py
    M numpy/lib/tests/test_shape_base.py

  Log Message:
  -----------
  BUG: Fix apply_along_axis() for when func1d() returns a non-ndarray (#8426)

* BUG: Closes issue #8419

Fixes issue in apply_along_axis() where func1d() returns a non ndarray

* BUG: Fix apply_along_axis() when func1d() returns a non-ndarray

Closes issue #8419. Fixes issue in apply_along_axis() where
func1d() returns a non ndarray by calling asanyarray() on
result. This commit fixes a too long line in the test case.


  Commit: f1c8452ccaedf0cb595a7706b158022f64279835
      https://github.com/numpy/numpy/commit/f1c8452ccaedf0cb595a7706b158022f64279835
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-12-31 (Sat, 31 Dec 2016)

  Changed paths:
    M numpy/lib/shape_base.py
    M numpy/lib/tests/test_shape_base.py

  Log Message:
  -----------
  Merge pull request #8431 from charris/backport-8426

BUG: Fix apply_along_axis() for when func1d() returns a non-ndarray.


Compare: https://github.com/numpy/numpy/compare/f6288bb359bd...f1c8452ccaed


More information about the Numpy-svn mailing list