diff --git a/include/gtl/phmap.hpp b/include/gtl/phmap.hpp index b496118..a9ce231 100644 --- a/include/gtl/phmap.hpp +++ b/include/gtl/phmap.hpp @@ -3955,7 +3955,7 @@ class parallel_hash_set { void reserve(size_t n) { size_t target = GrowthToLowerboundCapacity(n); - size_t normalized = 16 * NormalizeCapacity(n / num_tables); + size_t normalized = num_tables * NormalizeCapacity(n / num_tables); rehash(normalized > target ? normalized : target); }