diff options
author | Maxim Pimenov <m@maps.me> | 2015-10-21 14:47:25 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:02:28 +0300 |
commit | 4e33a1f23cbfa9b5822feb7aded52d73fa808dcc (patch) | |
tree | 68e8421a26005cd3c13224adfc1c650afdb9d515 /coding/compressed_bit_vector.cpp | |
parent | 2ef3f59f92b5fbace5c600cd968b8d0e795529e0 (diff) |
Some review fixes.
Diffstat (limited to 'coding/compressed_bit_vector.cpp')
-rw-r--r-- | coding/compressed_bit_vector.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/coding/compressed_bit_vector.cpp b/coding/compressed_bit_vector.cpp index d6ef51dd03..da80b04d42 100644 --- a/coding/compressed_bit_vector.cpp +++ b/coding/compressed_bit_vector.cpp @@ -185,6 +185,7 @@ DenseCBV::DenseCBV(vector<uint64_t> const & setBits) { if (setBits.empty()) { + m_popCount = 0; return; } uint64_t const maxBit = *max_element(setBits.begin(), setBits.end()); |