Skip to content

Commit

Permalink
Merge pull request #180 from FloopCZ/redundant-seed
Browse files Browse the repository at this point in the history
Remove redundant seed
  • Loading branch information
beniz authored Mar 29, 2021
2 parents c7a7f3d + f77a10a commit 0c4d1c1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/esostrategy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ namespace libcmaes
{
std::random_device rd;
_uhgen = std::mt19937(rd());
_uhgen.seed(static_cast<uint64_t>(time(nullptr)));
_uhunif = std::uniform_real_distribution<>(0,1);
}
}
Expand All @@ -71,7 +70,6 @@ namespace libcmaes
{
std::random_device rd;
_uhgen = std::mt19937(rd());
_uhgen.seed(static_cast<uint64_t>(time(nullptr)));
_uhunif = std::uniform_real_distribution<>(0,1);
}
}
Expand Down

0 comments on commit 0c4d1c1

Please sign in to comment.