[Numpy-svn] [numpy/numpy] 76760c: BUG: searchsorted fails if sorter is not of type n...

GitHub noreply at github.com
Wed May 14 10:32:56 EDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 76760cffa9381697e2eb60a32f12d993628beec4
      https://github.com/numpy/numpy/commit/76760cffa9381697e2eb60a32f12d993628beec4
  Author: jaimefrio <jaime.frio at gmail.com>
  Date:   2014-05-13 (Tue, 13 May 2014)

  Changed paths:
    M numpy/core/src/multiarray/item_selection.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  BUG: searchsorted fails if sorter is not of type np.intp fixes #4698

The array being passed to the search function was not the one converted
to NPY_INTP, so it only worked if it was of that type to begin with.


  Commit: d1987d11dfe5101d3c0b12fecaae05570f361d44
      https://github.com/numpy/numpy/commit/d1987d11dfe5101d3c0b12fecaae05570f361d44
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-05-14 (Wed, 14 May 2014)

  Changed paths:
    M numpy/core/src/multiarray/item_selection.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  Merge pull request #4708 from jaimefrio/sorter-bug

BUG: searchsorted fails if sorter is not of type np.intp fixes #4698


Compare: https://github.com/numpy/numpy/compare/06054c06cf3b...d1987d11dfe5


More information about the Numpy-svn mailing list