rational.c: fix `MRB_TT_RATIONAL` and `MRB_TT_COMPLEX` confusion.

parent 98821d27
......@@ -380,7 +380,7 @@ mrb_rational_eq(mrb_state *mrb, mrb_value x, mrb_value y)
return a == b;
}
#ifdef MRB_USE_COMPLEX
case MRB_TT_RATIONAL:
case MRB_TT_COMPLEX:
{
mrb_bool mrb_complex_eq(mrb_state *mrb, mrb_value, mrb_value);
return mrb_complex_eq(mrb, y, 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