X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=dd9e45b92e33b3ad606b6c10a40294fa77349058;hp=21cfbccac18b7120622537f54ad09fe0dcae90bd;hb=aa86d81f79a92a5a050f73e1443190e53aa9f2ed;hpb=734fb9a13b75a2c52c04352bc508b6a71e3f9300 diff --git a/src/search.cpp b/src/search.cpp index 21cfbcca..dd9e45b9 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -201,7 +201,7 @@ namespace { Depth ThreatDepth; // heavy SMP read access // Last seconds noise filtering (LSN) - const bool UseLSNFiltering = false; + const bool UseLSNFiltering = true; const int LSNTime = 4000; // In milliseconds const Value LSNValue = value_from_centipawns(200); bool loseOnTime = false; @@ -1142,9 +1142,6 @@ namespace { search_pv(pos, ss, alpha, beta, depth-2*OnePly, ply, threadID); ttMove = ss[ply].pv[ply]; tte = TT.retrieve(pos.get_key()); - - // If tte->move() != MOVE_NONE then it equals ttMove - assert(!(tte && tte->move()) || tte->move() == ttMove); } // Initialize a MovePicker object for the current position, and prepare