diff options
Diffstat (limited to 'numpy/core/ma.py')
-rw-r--r-- | numpy/core/ma.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/ma.py b/numpy/core/ma.py index 982ba437e..03e94b68e 100644 --- a/numpy/core/ma.py +++ b/numpy/core/ma.py @@ -455,8 +455,8 @@ arccos = masked_unary_operation(umath.arccos, 0.0, domain_check_interval(-1.0, 1 arctan = masked_unary_operation(umath.arctan) # Missing from numeric arcsinh = masked_unary_operation(umath.arcsinh) -arccosh = masked_unary_operation(umath.arccosh) -arctanh = masked_unary_operation(umath.arctanh) +arccosh = masked_unary_operation(umath.arccosh, 1.0, domain_greater_equal(1.0)) +arctanh = masked_unary_operation(umath.arctanh, 0.0, domain_check_interval(-1.0+1e-15, 1.0-1e-15)) sinh = masked_unary_operation(umath.sinh) cosh = masked_unary_operation(umath.cosh) tanh = masked_unary_operation(umath.tanh) |