[Numpy-svn] [numpy/numpy] e03c0f: ENH: Break out early of loop in argmin/max for boo...

GitHub noreply at github.com
Mon May 5 08:42:35 EDT 2014


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

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

  Log Message:
  -----------
  ENH: Break out early of loop in argmin/max for bool, fixes #4659

Break out early of loop if the min (max) found is `False` (`True`) when
`argmin` (`argmax`) is called on an array of type `bool`.


  Commit: b4ed857c59409a2d35da46438498a12410471160
      https://github.com/numpy/numpy/commit/b4ed857c59409a2d35da46438498a12410471160
  Author: Julian Taylor <juliantaylor108 at gmail.com>
  Date:   2014-05-05 (Mon, 05 May 2014)

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

  Log Message:
  -----------
  Merge pull request #4668 from jaimefrio/fast-argfunc

ENH: Break out early of loop in argmin/max for bool, fixes #4659


Compare: https://github.com/numpy/numpy/compare/753149eddd46...b4ed857c5940


More information about the Numpy-svn mailing list