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/hermite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/polynomial/hermite.py') diff --git a/numpy/polynomial/hermite.py b/numpy/polynomial/hermite.py index ae1143d28..ba8af061e 100644 --- a/numpy/polynomial/hermite.py +++ b/numpy/polynomial/hermite.py @@ -770,8 +770,8 @@ def hermint(c, m=1, k=[], lbnd=0, scl=1, axis=0): Raises ------ ValueError - If ``m < 0``, ``len(k) > m``, ``np.isscalar(lbnd) == False``, or - ``np.isscalar(scl) == False``. + If ``m < 0``, ``len(k) > m``, ``np.ndim(lbnd) != 0``, or + ``np.ndim(scl) != 0``. See Also -------- -- cgit v1.2.1