diff options
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 -------- |