From 983fd1689ccd1f98bc2ba69b66434f76a96a40e7 Mon Sep 17 00:00:00 2001 From: Douglas Katzman Date: Tue, 4 Apr 2017 13:19:44 -0400 Subject: [PATCH] Correct hopscotch table threshold after resize. --- src/runtime/hopscotch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/hopscotch.c b/src/runtime/hopscotch.c index 6a22c5361..a649d94f6 100644 --- a/src/runtime/hopscotch.c +++ b/src/runtime/hopscotch.c @@ -299,6 +299,7 @@ tableptr hopscotch_resize_up(tableptr ht) ht->mem_size = copy.mem_size; ht->mask = copy.mask; ht->hop_range = copy.hop_range; + ht->threshold = copy.threshold; ht->keys = copy.keys; ht->hops = copy.hops; ht->values = copy.values; -- 2.11.4.GIT