Fix genetic algorithms CI failure

This commit is contained in:
Marenz
2022-01-17 13:35:07 +01:00
parent 0004ad8764
commit 57d84c8bfb
13 changed files with 15 additions and 12 deletions
+3
View File
@@ -217,6 +217,9 @@ BOOST_FIXTURE_TEST_CASE(runNextRound_should_select_individuals_with_probability_
{
constexpr double relativeTolerance = 0.1;
constexpr size_t populationSize = 1000;
SimulationRNG::reset(1);
assert(populationSize % 4 == 0 && "Choose a number divisible by 4 for this test");
auto population =