summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'math.c')
-rw-r--r--math.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/math.c b/math.c
index 51caf35c5d..630aa13baa 100644
--- a/math.c
+++ b/math.c
@@ -298,7 +298,6 @@ math_atanh(VALUE obj, VALUE x)
d0 = RFLOAT_VALUE(x);
d = atanh(d0);
domain_check(d0, d, "atanh");
- infinity_check(x, d, "atanh");
return DBL2NUM(d);
}