Skip to content

Commit

Permalink
determinism
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad0 committed Dec 8, 2023
1 parent 6cac29f commit 3937509
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ auto generate_random_data()
#ifdef BBERG_DEBUG_LOG
// if we are debug logging, don't actually use randomness, defeats the intended use-case of comparing runs
for (size_t i = 0; i < 32; i++) {
random_data[i] = unsigned(i + 1u);
random_data[i] = static_cast<unsigned int>(i + 1);
}
#else
std::random_device source;
Expand Down

0 comments on commit 3937509

Please sign in to comment.