summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/polynomial/chebyshev.py4
-rw-r--r--numpy/polynomial/hermite.py4
-rw-r--r--numpy/polynomial/hermite_e.py4
-rw-r--r--numpy/polynomial/laguerre.py4
-rw-r--r--numpy/polynomial/legendre.py4
5 files changed, 10 insertions, 10 deletions
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
--------
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
--------
diff --git a/numpy/polynomial/hermite_e.py b/numpy/polynomial/hermite_e.py
index ee29ec5d3..6b81e68b7 100644
--- a/numpy/polynomial/hermite_e.py
+++ b/numpy/polynomial/hermite_e.py
@@ -769,8 +769,8 @@ def hermeint(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
--------
diff --git a/numpy/polynomial/laguerre.py b/numpy/polynomial/laguerre.py
index 079cf97b3..ba184638d 100644
--- a/numpy/polynomial/laguerre.py
+++ b/numpy/polynomial/laguerre.py
@@ -770,8 +770,8 @@ def lagint(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
--------
diff --git a/numpy/polynomial/legendre.py b/numpy/polynomial/legendre.py
index 1c42f4881..b6664d25b 100644
--- a/numpy/polynomial/legendre.py
+++ b/numpy/polynomial/legendre.py
@@ -810,8 +810,8 @@ def legint(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
--------