diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-07-18 16:56:24 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-07-18 16:56:24 +0000 |
commit | eefce918a50343132053487c8f0359340cc6ca8a (patch) | |
tree | b08b91acdabe20cb9813d38254d6c44643d24905 /numpy/core/ma.py | |
parent | bc0e889643645b39eae2a969d3e5629a1295f641 (diff) | |
download | numpy-eefce918a50343132053487c8f0359340cc6ca8a.tar.gz |
Fix ticket #175
Diffstat (limited to 'numpy/core/ma.py')
-rw-r--r-- | numpy/core/ma.py | 2 |
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)) |