diff --git a/src/search.cpp b/src/search.cpp index a0215bee..6dd854c6 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -471,10 +471,12 @@ bool think(const Position& pos, bool infinite, bool ponder, int side_to_move, NodesBetweenPolls = Min(MaxNodes, 30000); InfiniteSearch = true; // HACK } + else if (InfiniteSearch) + NodesBetweenPolls = 30000; else if (myTime < 1000) - NodesBetweenPolls = 100; - else if (myTime < 5000) NodesBetweenPolls = 1000; + else if (myTime < 5000) + NodesBetweenPolls = 5000; else NodesBetweenPolls = 30000;