Skip to content

Commit

Permalink
made value type to size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
JslYoon committed Oct 31, 2024
1 parent 854395d commit 76f0b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bliss/util/execute.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void execute_inserts(bliss::BlissIndex<key_type, value_type> &tree,
spdlog::trace("Executing Inserts");
std::mt19937 gen(seed);
auto num_keys = std::distance(start, end);
std::uniform_int_distribution<value_type> dist(0, num_keys - 1);
std::uniform_int_distribution<size_t> dist(0, num_keys - 1);

for (auto curr = start; curr != end; ++curr) {
tree.put(*curr, dist(gen));
Expand Down

0 comments on commit 76f0b0e

Please sign in to comment.