[Numpy-svn] [numpy/numpy] 04b16f: BUG: Make median work for empty arrays (issue #646...
GitHub
noreply at github.com
Wed Oct 21 20:19:47 EDT 2015
Branch: refs/heads/maintenance/1.10.x
Home: https://github.com/numpy/numpy
Commit: 04b16fd98d0449a8dda5033594c57e3b23dbfbab
https://github.com/numpy/numpy/commit/04b16fd98d0449a8dda5033594c57e3b23dbfbab
Author: Ethan Kruse <eakruse at uw.edu>
Date: 2015-10-21 (Wed, 21 Oct 2015)
Changed paths:
M numpy/lib/function_base.py
M numpy/lib/tests/test_function_base.py
Log Message:
-----------
BUG: Make median work for empty arrays (issue #6462)
np.median([]) returns NaN. Fixes bug/regression that raised an IndexError.
Added tests to ensure continued support of empty arrays.
Commit: 0eb1d4d47644450a3264ae115f9d2fd1f06ee29b
https://github.com/numpy/numpy/commit/0eb1d4d47644450a3264ae115f9d2fd1f06ee29b
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-10-21 (Wed, 21 Oct 2015)
Changed paths:
M numpy/lib/function_base.py
M numpy/lib/tests/test_function_base.py
Log Message:
-----------
Merge pull request #6547 from charris/backport-6527
backport-6527
Compare: https://github.com/numpy/numpy/compare/e283ae72810c...0eb1d4d47644
More information about the Numpy-svn
mailing list