X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=1f848183481a573cf59710f2993a1c4fb890a1f2;hp=ed18936f760eb71cb7450daa8c12279f7d3f1ef0;hb=a90a990118fa84d1e6138654dd24d2f7f4ec3761;hpb=63a04134d0841bb362f42d600faf614038fff494 diff --git a/src/search.cpp b/src/search.cpp index ed18936f..1f848183 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -363,7 +363,7 @@ int64_t perft(Position& pos, Depth depth) { bool think(Position& pos, const SearchLimits& limits, Move searchMoves[]) { - static Book book; + static Book book; // Define static to initialize the PRNG only once // Initialize global search-related variables StopOnPonderhit = StopRequest = QuitRequest = AspirationFailLow = false;