summaryrefslogtreecommitdiff
path: root/numpy/polynomial/hermite.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/polynomial/hermite.py')
-rw-r--r--numpy/polynomial/hermite.py4
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
--------