summaryrefslogtreecommitdiff
path: root/numpy/core/ma.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-07-18 16:56:24 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-07-18 16:56:24 +0000
commiteefce918a50343132053487c8f0359340cc6ca8a (patch)
treeb08b91acdabe20cb9813d38254d6c44643d24905 /numpy/core/ma.py
parentbc0e889643645b39eae2a969d3e5629a1295f641 (diff)
downloadnumpy-eefce918a50343132053487c8f0359340cc6ca8a.tar.gz
Fix ticket #175
Diffstat (limited to 'numpy/core/ma.py')
-rw-r--r--numpy/core/ma.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/ma.py b/numpy/core/ma.py
index 102fecf78..0b3ff6e45 100644
--- a/numpy/core/ma.py
+++ b/numpy/core/ma.py
@@ -1585,7 +1585,7 @@ def power (a, b, third=None):
fb = filled(b, 1)
if fb.dtype.char in typecodes["Integer"]:
return masked_array(umath.power(fa, fb), m)
- md = make_mask(umath.less_equal (fa, 0), flag=1)
+ md = make_mask(umath.less(fa, 0), flag=1)
m = mask_or(m, md)
if m is nomask:
return masked_array(umath.power(fa, fb))