Skip to content

Commit 0c4d1c1

Browse files
authored
Merge pull request #180 from FloopCZ/redundant-seed
Remove redundant seed
2 parents c7a7f3d + f77a10a commit 0c4d1c1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/esostrategy.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ namespace libcmaes
5454
{
5555
std::random_device rd;
5656
_uhgen = std::mt19937(rd());
57-
_uhgen.seed(static_cast<uint64_t>(time(nullptr)));
5857
_uhunif = std::uniform_real_distribution<>(0,1);
5958
}
6059
}
@@ -71,7 +70,6 @@ namespace libcmaes
7170
{
7271
std::random_device rd;
7372
_uhgen = std::mt19937(rd());
74-
_uhgen.seed(static_cast<uint64_t>(time(nullptr)));
7573
_uhunif = std::uniform_real_distribution<>(0,1);
7674
}
7775
}

0 commit comments

Comments
 (0)