X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=21cfbccac18b7120622537f54ad09fe0dcae90bd;hp=4481cfc727e436b8888825c94ec4bc99d261b21e;hb=2643f1552fca823a2922c124b49f1fa04aa5d970;hpb=0d88b832e38430e0add9c8298458569b23e102a7 diff --git a/src/search.cpp b/src/search.cpp index 4481cfc7..21cfbcca 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)