[Numpy-svn] [numpy/numpy] b82230: BUG: fix ma.median used on ndarrays

GitHub noreply at github.com
Tue Jan 13 22:39:15 EST 2015


  Branch: refs/heads/maintenance/1.9.x
  Home:   https://github.com/numpy/numpy
  Commit: b82230fdb438ba368e18ad8d3c55cb4779ab2acf
      https://github.com/numpy/numpy/commit/b82230fdb438ba368e18ad8d3c55cb4779ab2acf
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2015-01-13 (Tue, 13 Jan 2015)

  Changed paths:
    M numpy/ma/extras.py
    M numpy/ma/tests/test_extras.py

  Log Message:
  -----------
  BUG: fix ma.median used on ndarrays

ndarrays have a data attribute pointing to the data buffer which leads
to the median working on a byte view instead of the actual type.
closes gh-5424


  Commit: b1ac4a59e1cf429e9f6e002668ee68ec4381b454
      https://github.com/numpy/numpy/commit/b1ac4a59e1cf429e9f6e002668ee68ec4381b454
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M numpy/ma/extras.py
    M numpy/ma/tests/test_extras.py

  Log Message:
  -----------
  Merge pull request #5447 from juliantaylor/ma-median-ndarray

BUG: fix ma.median used on ndarrays


Compare: https://github.com/numpy/numpy/compare/c9075faa59f8...b1ac4a59e1cf


More information about the Numpy-svn mailing list