From 972e11b04fcb536f9a551d01e2a1cb513a4185be Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Tue, 17 Jul 2018 15:34:31 -0400 Subject: [PATCH] Fix for complex numbers --- gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gc.c b/gc.c index 07024c7b..24298fdf 100644 --- a/gc.c +++ b/gc.c @@ -581,7 +581,7 @@ gc_heap *gc_sweep_fixed_size(gc_heap * h, int heap_type, gc_thread_data *thd) fprintf(stderr, "sweep: invalid object at %p", p); exit(1); } - if (type_of(p) > 20) { + if (type_of(p) > 21) { fprintf(stderr, "sweep: invalid object tag %d at %p", type_of(p), p); exit(1); }