aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math.c b/math.c
index 898ccb6ede..8a5e5cdc33 100644
--- a/math.c
+++ b/math.c
@@ -438,7 +438,7 @@ math_exp(VALUE obj, VALUE x)
*/
static VALUE
-math_log(int argc, VALUE *argv)
+math_log(int argc, VALUE *argv, VALUE obj)
{
VALUE x, base;
double d0, d;
@@ -895,7 +895,7 @@ exp2(hypot)
VALUE
rb_math_log(int argc, VALUE *argv)
{
- return math_log(argc, argv);
+ return math_log(argc, argv, rb_mMath);
}
exp1(sin)