X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=3b5cae4541eecec487b02bb3cb72c7233492e453;hp=a0215bee2741e34adf2c47de4d41a5a9b6305ba1;hb=8ee0842c81ba41482d3373d4174bfed53b1bc9fc;hpb=8dd01fda121eb138287f09493a4d86c58c58d7e1 diff --git a/src/search.cpp b/src/search.cpp index a0215bee..3b5cae45 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -199,7 +199,7 @@ namespace { Depth ThreatDepth; // heavy SMP read access // Last seconds noise filtering (LSN) - const bool UseLSNFiltering = true; + const bool UseLSNFiltering = false; const int LSNTime = 4000; // In milliseconds const Value LSNValue = value_from_centipawns(200); bool loseOnTime = false; @@ -471,10 +471,10 @@ bool think(const Position& pos, bool infinite, bool ponder, int side_to_move, NodesBetweenPolls = Min(MaxNodes, 30000); InfiniteSearch = true; // HACK } - else if (myTime < 1000) - NodesBetweenPolls = 100; - else if (myTime < 5000) + else if (myTime && myTime < 1000) NodesBetweenPolls = 1000; + else if (myTime && myTime < 5000) + NodesBetweenPolls = 5000; else NodesBetweenPolls = 30000;