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

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


  Branch: refs/heads/master
  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: 2be7ec4d0a65102b0d68cf75d6d877aecd71a524
      https://github.com/numpy/numpy/commit/2be7ec4d0a65102b0d68cf75d6d877aecd71a524
  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/b5cb6f1ae2e4...2be7ec4d0a65


More information about the Numpy-svn mailing list