mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use fixed seed for flaky phaser test for now.
This commit is contained in:
parent
cac0f203a2
commit
671064b609
@ -644,6 +644,8 @@ BOOST_AUTO_TEST_CASE(uniformCrossover_should_swap_tail_with_uniform_probability)
|
|||||||
Chromosome chromosome1("aaaaa");
|
Chromosome chromosome1("aaaaa");
|
||||||
Chromosome chromosome2("cccccccccc");
|
Chromosome chromosome2("cccccccccc");
|
||||||
|
|
||||||
|
SimulationRNG::reset(1);
|
||||||
|
|
||||||
vector<size_t> bernoulliTrials;
|
vector<size_t> bernoulliTrials;
|
||||||
for (size_t i = 0; i < operationCount; ++i)
|
for (size_t i = 0; i < operationCount; ++i)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user