[Numpy-svn] [numpy/numpy] 6e6999: BUG: Fix nanpercentile crash on all-nan slices

GitHub noreply at github.com
Sun Jan 17 07:04:26 EST 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 6e699948c2b6098ec1a6e135241bc24e4df9a4d1
      https://github.com/numpy/numpy/commit/6e699948c2b6098ec1a6e135241bc24e4df9a4d1
  Author: David Freese <dfreese at stanford.edu>
  Date:   2016-01-12 (Tue, 12 Jan 2016)

  Changed paths:
    M numpy/lib/nanfunctions.py
    M numpy/lib/tests/test_nanfunctions.py

  Log Message:
  -----------
  BUG: Fix nanpercentile crash on all-nan slices

Fix bug where nanpercentile would crash with an all-nan slices when
given multiple percentiles.  Also corrects behavior where array sizes
different from numpy.percentile would be returned with keepdims enabled.

Fix #5760


  Commit: 28fdcf3f19d2986a6760f96a53afa694abc737da
      https://github.com/numpy/numpy/commit/28fdcf3f19d2986a6760f96a53afa694abc737da
  Author: Julian Taylor <juliantaylor108 at gmail.com>
  Date:   2016-01-17 (Sun, 17 Jan 2016)

  Changed paths:
    M numpy/lib/nanfunctions.py
    M numpy/lib/tests/test_nanfunctions.py

  Log Message:
  -----------
  Merge pull request #5981 from dfreese/fix/multi_percent_nanperc_bug

BUG: Handle multiple percentiles for all-nan slices in nanpercentile


Compare: https://github.com/numpy/numpy/compare/afd11746fc4e...28fdcf3f19d2


More information about the Numpy-svn mailing list