aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 8b5423b884..eb3d4be9ff 100644
--- a/numeric.c
+++ b/numeric.c
@@ -2429,7 +2429,7 @@ fix_divide(VALUE x, VALUE y, ID op)
case T_RATIONAL:
if (op == '/' && FIX2LONG(x) == 1)
return rb_rational_reciprocal(y);
- return rb_funcall(rb_rational_new1(x), op, 1, y);
+ /* fall through */
default:
return rb_num_coerce_bin(x, y, op);
}