We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32eb6ed commit 75c0dccCopy full SHA for 75c0dcc
ext/symengine/ruby_real_mpfr.c
@@ -42,7 +42,6 @@ VALUE crealmpfr_to_float(VALUE self)
42
//sympify(self, cbasic_operand1);
43
//result = rb_float_new(real_mpfr_get_d(cbasic_operand1));
44
45
- return rb_funcall(( rb_funcall( self, rb_intern("to_s"), 1, rb_str_new2("F")) ),
46
- rb_intern("to_f"), 0, NULL);
+ return rb_funcall(rb_funcall(self, rb_intern("to_s"), 0, NULL), rb_intern("to_f"), 0, NULL);
47
}
48
0 commit comments