diff options
Diffstat (limited to 'complex.c')
-rw-r--r-- | complex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1411,7 +1411,7 @@ rb_complex_set_real(VALUE cmp, VALUE r) VALUE rb_complex_set_imag(VALUE cmp, VALUE i) { - RCOMPLEX_SET_REAL(cmp, i); + RCOMPLEX_SET_IMAG(cmp, i); return cmp; } |