Closed GoogleCodeExporter closed 9 years ago
I finally had a chance to look into this, and it was a typo-bug in swap():
ht.settings.reset_thresholds(bucket_count());
This should be
ht.settings.reset_thresholds(ht.bucket_count());
I'm updating the test suite and getting it all code reviewed; I'll get a fix
out (at least to svn) after that.
Original comment by csilv...@gmail.com
on 26 Apr 2011 at 6:38
Original comment by csilv...@gmail.com
on 26 Apr 2011 at 6:39
Thanks, Craig. I looked over the swap() function myself, but completely missed
that!
Original comment by mqu...@gmail.com
on 27 Apr 2011 at 8:46
This should be fixed in sparsehash 1.11, just released.
Original comment by csilv...@gmail.com
on 24 Jun 2011 at 4:43
Original issue reported on code.google.com by
mqu...@gmail.com
on 22 Apr 2011 at 9:43