[Numpy-svn] [numpy/numpy] 3b6217: DOC: Fixed incorrect assert_array_almost_equal_nul...

GitHub noreply at github.com
Wed Dec 24 07:40:22 EST 2014


  Branch: refs/heads/maintenance/1.9.x
  Home:   https://github.com/numpy/numpy
  Commit: 3b6217f3799f85686c1ae87bbdc5cb10ad4585ec
      https://github.com/numpy/numpy/commit/3b6217f3799f85686c1ae87bbdc5cb10ad4585ec
  Author: Eric O. LEBIGOT (EOL) <eric.lebigot at normalesup.org>
  Date:   2014-12-24 (Wed, 24 Dec 2014)

  Changed paths:
    M numpy/testing/utils.py

  Log Message:
  -----------
  DOC: Fixed incorrect assert_array_almost_equal_nulp documentation

The `max()` function previously used does not work with two array-like.
`maximum()` does, and is what is essentially used in the code
(`ref = nulp * np.spacing(np.where(ax > ay, ax, ay))`).


  Commit: bd7fcee2efe3a1b40f46ef271b99bb1caa4bc8cc
      https://github.com/numpy/numpy/commit/bd7fcee2efe3a1b40f46ef271b99bb1caa4bc8cc
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2014-12-24 (Wed, 24 Dec 2014)

  Changed paths:
    M numpy/testing/utils.py

  Log Message:
  -----------
  Merge pull request #5374 from lebigot/patch-1

DOC: Fixed incorrect assert_array_almost_equal_nulp documentation


Compare: https://github.com/numpy/numpy/compare/50d8af82e2a0...bd7fcee2efe3


More information about the Numpy-svn mailing list