From b4c1d4f93d2ed34bc27b59ece2f26a8b3b16e5e4 Mon Sep 17 00:00:00 2001 From: Antoine Dechaume Date: Fri, 2 Aug 2019 22:45:16 +0200 Subject: 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. --- numpy/core/numeric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/numeric.py') 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 -- cgit v1.2.1