mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
variable name typo fixed
This commit is contained in:
+1
-1
@@ -419,7 +419,7 @@ math_log(mrb_state *mrb, mrb_value obj)
|
||||
argc = mrb_get_args(mrb, "f|f", &x, &base);
|
||||
x = log(x);
|
||||
if (argc == 2) {
|
||||
d /= log(base);
|
||||
x /= log(base);
|
||||
}
|
||||
return mrb_float_value(x);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user