diff options
| author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-12-24 13:40:00 +0100 |
|---|---|---|
| committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-12-24 13:40:00 +0100 |
| commit | bd7fcee2efe3a1b40f46ef271b99bb1caa4bc8cc (patch) | |
| tree | caa522a1d0451aa63541ca2379a1969095172b34 /numpy/testing/utils.py | |
| parent | 50d8af82e2a01a4309f92717362f0dd68a7ded74 (diff) | |
| parent | 3b6217f3799f85686c1ae87bbdc5cb10ad4585ec (diff) | |
| download | numpy-bd7fcee2efe3a1b40f46ef271b99bb1caa4bc8cc.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 4f45f62f4..a078897e9 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 -------- |
