Skip to content

Commit

Permalink
Fix pseudo-random number generator across operating systems (like Ubu…
Browse files Browse the repository at this point in the history
…ntu vs. Windows).
  • Loading branch information
Dimitri Rusin committed May 7, 2024
1 parent c72571d commit 0fa4601
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace ioh::problem

double pareto_shape;
int timestep;
std::default_random_engine random_generator;
std::mt19937 random_generator;
std::vector<double> weights;
std::vector<int> transformed_x;

Expand Down

0 comments on commit 0fa4601

Please sign in to comment.