mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
rational.c: fix wrong funcall method in rational_mul.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user