summaryrefslogtreecommitdiff
path: root/numpy/lib/ufunclike.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/ufunclike.py')
-rw-r--r--numpy/lib/ufunclike.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/ufunclike.py b/numpy/lib/ufunclike.py
index 5e89b0930..bb8ee7808 100644
--- a/numpy/lib/ufunclike.py
+++ b/numpy/lib/ufunclike.py
@@ -99,9 +99,9 @@ def isposinf(x, y=None):
>>> x = np.array([-np.inf, 0., np.inf])
>>> y = np.array([2, 2, 2])
>>> np.isposinf(x, y)
- array([1, 0, 0])
+ array([0, 0, 1])
>>> y
- array([1, 0, 0])
+ array([0, 0, 1])
"""
if y is None: