From 3653f036838eb4eedfc5a4f1ac8ff89b56e5680f Mon Sep 17 00:00:00 2001 From: sunkaicheng Date: Sun, 25 Aug 2019 20:12:14 +0800 Subject: [PATCH] fix typo --- parallel_hashmap/phmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parallel_hashmap/phmap.h b/parallel_hashmap/phmap.h index 8bdb15e..404ac22 100644 --- a/parallel_hashmap/phmap.h +++ b/parallel_hashmap/phmap.h @@ -2329,7 +2329,7 @@ class parallel_hash_set KeyArg::value && IsTransparent::value>; static_assert(N <= 12, "N = 12 means 4096 hash tables!"); - constexpr static size_t num_tables = 1 N; + constexpr static size_t num_tables = 1 << N; constexpr static size_t mask = num_tables - 1; public: