X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=b8cf5b908df2ba1780321588be3d0235ec40f2f3;hp=3eba90d9678b8cd843688f5e00b3648731726fc8;hb=7ff9678651942203639796da3fe3434d1c22e4b8;hpb=4ef068a506baeec93d8ef992eef3ddb218d5f88e diff --git a/src/search.cpp b/src/search.cpp index 3eba90d9..b8cf5b90 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -373,6 +373,7 @@ bool think(const Position& pos, bool infinite, bool ponder, int side_to_move, // Initialize global search variables StopOnPonderhit = AbortSearch = Quit = AspirationFailLow = false; + MaxSearchTime = AbsoluteMaxSearchTime = ExtraSearchTime = 0; NodesSincePoll = 0; TM.resetNodeCounters(); SearchStartTime = get_system_time(); @@ -647,8 +648,6 @@ namespace { // Initialize iteration Iteration++; BestMoveChangesByIteration[Iteration] = 0; - if (Iteration <= 5) - ExtraSearchTime = 0; cout << "info depth " << Iteration << endl;