summaryrefslogtreecommitdiff
path: root/numpy/ma/core.py
diff options
context:
space:
mode:
authorpierregm <pierregm@localhost>2009-12-07 20:28:09 +0000
committerpierregm <pierregm@localhost>2009-12-07 20:28:09 +0000
commit9fef44316518533cdfb6314b32fcbb015fa9f836 (patch)
treecc9744200cbe45bc48aeffd491714f029db575da /numpy/ma/core.py
parentf5c5c6d3b1e7e090c3bdf92cf8139355993a1c06 (diff)
downloadnumpy-9fef44316518533cdfb6314b32fcbb015fa9f836.tar.gz
* Bugfix #1173 and #1174 (Michael D.)
Diffstat (limited to 'numpy/ma/core.py')
-rw-r--r--numpy/ma/core.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py
index f28a5738e..a6cd94e44 100644
--- a/numpy/ma/core.py
+++ b/numpy/ma/core.py
@@ -854,6 +854,7 @@ class _MaskedUnaryOperation:
np.seterr(**err_status_ini)
# Make a mask
m = ~umath.isfinite(result)
+ m |= self.domain(d)
m |= getmask(a)
# Case 1.2. : Function without a domain
else: