diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-06-14 00:59:58 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-06-14 00:59:58 +0900 |
| commit | b4be82ccc1941df0a4dcbc0f0b9922798cf0cac4 (patch) | |
| tree | e1ec2772a29f2af80cdd082292797baef0cc405b /src/math.c | |
| parent | 764a791f439bb843838239909d98b26ac90a9e02 (diff) | |
| download | mruby-b4be82ccc1941df0a4dcbc0f0b9922798cf0cac4.tar.gz mruby-b4be82ccc1941df0a4dcbc0f0b9922798cf0cac4.zip | |
variable name typo fixed
Diffstat (limited to 'src/math.c')
| -rw-r--r-- | src/math.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math.c b/src/math.c index 3898146b6..f3a2dc12c 100644 --- a/src/math.c +++ b/src/math.c @@ -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); } |
