[Numpy-svn] [numpy/numpy] 9ec694: BUG: Fixed 'midpoint' interpolation of np.percenti...

GitHub noreply at github.com
Sun Jan 31 22:00:04 EST 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 9ec694b69a231a8de43032711c657d253edbed9d
      https://github.com/numpy/numpy/commit/9ec694b69a231a8de43032711c657d253edbed9d
  Author: Joseph Fox-Rabinovitz <joseph.r.fox-rabinovitz at nasa.gov>
  Date:   2016-01-31 (Sun, 31 Jan 2016)

  Changed paths:
    M doc/release/1.12.0-notes.rst
    M numpy/lib/function_base.py
    M numpy/lib/tests/test_function_base.py

  Log Message:
  -----------
  BUG: Fixed 'midpoint' interpolation of np.percentile in odd cases.

'midpoint' must return the same as 'higher' and 'lower' when the two
are the same, not 'lower' + 0.5 as it was doing.


  Commit: ea9775606c8303a3fd65fdf21a4a02846cef971e
      https://github.com/numpy/numpy/commit/ea9775606c8303a3fd65fdf21a4a02846cef971e
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-01-31 (Sun, 31 Jan 2016)

  Changed paths:
    M doc/release/1.12.0-notes.rst
    M numpy/lib/function_base.py
    M numpy/lib/tests/test_function_base.py

  Log Message:
  -----------
  Merge pull request #7129 from madphysicist/percentile-midpoint-interpolation

BUG: Fixed 'midpoint' interpolation of np.percentile in odd cases.


Compare: https://github.com/numpy/numpy/compare/e36d7cab8257...ea9775606c83


More information about the Numpy-svn mailing list