rational.c: fix wrong `funcall` method in `rational_mul`.

parent 0aff83dc
......@@ -602,7 +602,7 @@ rational_mul(mrb_state *mrb, mrb_value x)
#endif
default:
return mrb_funcall_id(mrb, y, MRB_OPSYM(add), 1, x);
return mrb_funcall_id(mrb, y, MRB_OPSYM(mul), 1, x);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment