Commit b4be82cc authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

variable name typo fixed

parent 764a791f
...@@ -419,7 +419,7 @@ math_log(mrb_state *mrb, mrb_value obj) ...@@ -419,7 +419,7 @@ math_log(mrb_state *mrb, mrb_value obj)
argc = mrb_get_args(mrb, "f|f", &x, &base); argc = mrb_get_args(mrb, "f|f", &x, &base);
x = log(x); x = log(x);
if (argc == 2) { if (argc == 2) {
d /= log(base); x /= log(base);
} }
return mrb_float_value(x); return mrb_float_value(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