diff options
author | Antoine Dechaume <AntoineD@users.noreply.github.com> | 2019-08-02 22:45:16 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2019-08-02 13:45:16 -0700 |
commit | b4c1d4f93d2ed34bc27b59ece2f26a8b3b16e5e4 (patch) | |
tree | 08c298814e87deceec6ee57ac657dcce2d046050 /numpy/core/numeric.py | |
parent | 3d5fee2f9077a42677c724c36e78be5849c17c81 (diff) | |
download | numpy-b4c1d4f93d2ed34bc27b59ece2f26a8b3b16e5e4.tar.gz |
DOC: Fix misleading `allclose` docstring for `equal_nan` (gh-14183)
There is no output array for allclose as opposed to isclose, so do not reference one.
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index ea2ef900e..ff8c58867 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -2124,7 +2124,7 @@ def allclose(a, b, rtol=1.e-5, atol=1.e-8, equal_nan=False): The absolute tolerance parameter (see Notes). equal_nan : bool Whether to compare NaN's as equal. If True, NaN's in `a` will be - considered equal to NaN's in `b` in the output array. + considered equal to NaN's in `b`. .. versionadded:: 1.10.0 |