Skip to content

Commit

Permalink
Add a keyword to custom randomness extender.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri Rusin committed May 8, 2024
1 parent be62b43 commit 6c7e2aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace ioh::problem
{
struct LCG {
uint64_t state;
LCG(uint64_t seed) : state(seed) {}
explicit LCG(uint64_t seed) : state(seed) {}

uint64_t next() {
// Coefficients for a Linear Congruential Generator
Expand Down

0 comments on commit 6c7e2aa

Please sign in to comment.