diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-12-24 13:39:04 +0100 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-12-24 13:39:04 +0100 |
commit | 2be7ec4d0a65102b0d68cf75d6d877aecd71a524 (patch) | |
tree | 78891729734e5b7b75fd9f7fb9247414ca2054fe /numpy/testing/utils.py | |
parent | b5cb6f1ae2e45f54fdf1f41fa6a4225a8583d7ba (diff) | |
parent | 3b6217f3799f85686c1ae87bbdc5cb10ad4585ec (diff) | |
download | numpy-2be7ec4d0a65102b0d68cf75d6d877aecd71a524.tar.gz |
Merge pull request #5374 from lebigot/patch-1
DOC: Fixed incorrect assert_array_almost_equal_nulp documentation
Diffstat (limited to 'numpy/testing/utils.py')
-rw-r--r-- | numpy/testing/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py index 3b20f9238..b9bdaeb87 100644 --- a/numpy/testing/utils.py +++ b/numpy/testing/utils.py @@ -1331,7 +1331,7 @@ def assert_array_almost_equal_nulp(x, y, nulp=1): ----- An assertion is raised if the following condition is not met:: - abs(x - y) <= nulps * spacing(max(abs(x), abs(y))) + abs(x - y) <= nulps * spacing(maximum(abs(x), abs(y))) Examples -------- |