variable name typo fixed

This commit is contained in:
Yukihiro Matsumoto
2012-06-14 00:59:58 +09:00
parent 764a791f43
commit b4be82ccc1
+1 -1
View File
@@ -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);
}