X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsearch.cpp;h=b56cf9ae04af04e91802b9b4eb6688608e7bee62;hb=e0a8b364364c2a89c82d4f57fd3419ed5f1f872e;hp=4481cfc727e436b8888825c94ec4bc99d261b21e;hpb=0d88b832e38430e0add9c8298458569b23e102a7;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 4481cfc7..b56cf9ae 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 = true; + const bool UseLSNFiltering = false; const int LSNTime = 4000; // In milliseconds const Value LSNValue = value_from_centipawns(200); bool loseOnTime = false; @@ -373,7 +373,7 @@ bool think(const Position& pos, bool infinite, bool ponder, int side_to_move, { Move bookMove; if (get_option_value_string("Book File") != OpeningBook.file_name()) - OpeningBook.open("book.bin"); + OpeningBook.open(get_option_value_string("Book File")); bookMove = OpeningBook.get_move(pos); if (bookMove != MOVE_NONE) @@ -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