diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-10-21 13:15:07 -0700 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-10-21 13:15:07 -0700 |
commit | cc56467ff89bd797e11bc56b49c89e3aa632ebfe (patch) | |
tree | 24935bee69aec7d64417d467a9868a08c58c23b2 /numpy/polynomial/hermite.py | |
parent | d22a71bab7b787527035d5eb87ca3bc5acb0f88e (diff) | |
download | numpy-cc56467ff89bd797e11bc56b49c89e3aa632ebfe.tar.gz |
DOC: Fix incorrect comments that claim 0d arrays fail
Diffstat (limited to 'numpy/polynomial/hermite.py')
-rw-r--r-- | numpy/polynomial/hermite.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 -------- |