mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
merge revision(s) r33613:
* complex.c (nucomp_rationalize): fix function. [ruby-core:40667] [Bug #5546] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
58398d5106
commit
5ce73b510e
4 changed files with 8 additions and 2 deletions
|
@ -1374,7 +1374,7 @@ nucomp_rationalize(int argc, VALUE *argv, VALUE self)
|
|||
rb_raise(rb_eRangeError, "can't convert %s into Rational",
|
||||
StringValuePtr(s));
|
||||
}
|
||||
return rb_funcall(dat->real, rb_intern("rationalize"), argc, argv);
|
||||
return rb_funcall2(dat->real, rb_intern("rationalize"), argc, argv);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue