mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00:00
Changed to specify the current tick as a random seed. #68
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
// Derive and use this class.
|
// Derive and use this class.
|
||||||
struct MultiThink
|
struct MultiThink
|
||||||
{
|
{
|
||||||
MultiThink() : prng(21120903)
|
MultiThink() : prng(std::chrono::system_clock::now().time_since_epoch().count())
|
||||||
{
|
{
|
||||||
loop_count = 0;
|
loop_count = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user