summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/complex.c b/complex.c
index 2efe6a4..edbe296 100644
--- a/complex.c
+++ b/complex.c
@@ -1324,6 +1324,7 @@ nucomp_marshal_dump(VALUE self)
get_dat1(self);
a = rb_assoc_new(dat->real, dat->imag);
+ rb_copy_generic_ivar(a, self);
return a;
}