Skip to content

Commit

Permalink
mi_bloom_filter-inl.hpp: remove uint type
Browse files Browse the repository at this point in the history
  • Loading branch information
jwcodee committed Jul 24, 2024
1 parent 39daa9e commit 4b1ea6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/btllib/mi_bloom_filter-inl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ MIBloomFilter<T>::insert_id(const uint64_t* hashes, const T& id)
{
assert(bv_insertion_completed && !id_insertion_completed);

uint rand = std::rand(); // NOLINT
uint32_t rand = std::rand(); // NOLINT
for (unsigned i = 0; i < hash_num; ++i) {
uint64_t rank = get_rank_pos(hashes[i]);
uint16_t count = ++counts_array[rank];
Expand Down

0 comments on commit 4b1ea6f

Please sign in to comment.