Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed May 20, 2024
1 parent 3596100 commit f47c87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/bitvec_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ TEST_CASE("bitvec parallel") {
auto bits = std::vector<std::size_t>{};
bits.resize(b.size() * 0.2);
std::generate(begin(bits), end(bits), [&]() {
auto x = get_random_number() % b.size();
auto x = static_cast<std::uint32_t>(get_random_number() % b.size());
b.set(x, true);
return x;
});
Expand Down

0 comments on commit f47c87d

Please sign in to comment.