summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authorgit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-06-20 04:07:31 +0900
committergit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-06-20 04:07:31 +0900
commitfdfe51d16984b80fe782cb434bba7aeb629c279f (patch)
treeb13cafc09e4f22b4daefe69923d4a2d01d2a99ec /complex.c
parentb9ef35e4c6325864e013ab6e45df6fe00f759a47 (diff)
* expand tabs.
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/complex.c b/complex.c
index db94797a58..848d3ac8a9 100644
--- a/complex.c
+++ b/complex.c
@@ -1064,7 +1064,7 @@ nucomp_coerce(VALUE self, VALUE other)
if (RB_TYPE_P(other, T_COMPLEX))
return rb_assoc_new(other, self);
if (k_numeric_p(other) && f_real_p(other))
- return rb_assoc_new(f_complex_new_bang1(CLASS_OF(self), other), self);
+ return rb_assoc_new(f_complex_new_bang1(CLASS_OF(self), other), self);
rb_raise(rb_eTypeError, "%"PRIsVALUE" can't be coerced into %"PRIsVALUE,
rb_obj_class(other), rb_obj_class(self));