From cc56467ff89bd797e11bc56b49c89e3aa632ebfe Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Sat, 21 Oct 2017 13:15:07 -0700 Subject: DOC: Fix incorrect comments that claim 0d arrays fail --- numpy/polynomial/chebyshev.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/polynomial/chebyshev.py') diff --git a/numpy/polynomial/chebyshev.py b/numpy/polynomial/chebyshev.py index fe2805a03..0aaae9b59 100644 --- a/numpy/polynomial/chebyshev.py +++ b/numpy/polynomial/chebyshev.py @@ -1012,8 +1012,8 @@ def chebint(c, m=1, k=[], lbnd=0, scl=1, axis=0): Raises ------ ValueError - If ``m < 1``, ``len(k) > m``, ``np.isscalar(lbnd) == False``, or - ``np.isscalar(scl) == False``. + If ``m < 1``, ``len(k) > m``, ``np.ndim(lbnd) != 0``, or + ``np.ndim(scl) != 0``. See Also -------- -- cgit v1.2.1