X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=fb9bc17a26232b1d27853cb65e69a0691c07cd72;hp=0901187acee2af63bebbc120bed03e33948962da;hb=66f5cd3f9d123306c509b6172fd11ed3afa1d39a;hpb=fe07ae4cb4c2553fb48cab44c502ba766d1f09ce diff --git a/src/search.cpp b/src/search.cpp index 0901187a..fb9bc17a 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -33,10 +33,7 @@ #include "thread.h" #include "tt.h" #include "uci.h" - -#ifdef SYZYGY #include "syzygy/tbprobe.h" -#endif namespace Search { @@ -207,7 +204,6 @@ void Search::think() { } else { -#ifdef SYZYGY // Check Tablebases at root int piecesCnt = RootPos.total_piece_count(); TBCardinality = Options["SyzygyProbeLimit"]; @@ -259,7 +255,6 @@ void Search::think() { : TBScore; } } -#endif for (size_t i = 0; i < Threads.size(); ++i) Threads[i]->maxPly = 0; @@ -552,7 +547,6 @@ namespace { return ttValue; } -#ifdef SYZYGY // Step 4a. Tablebase probe if ( !RootNode && pos.total_piece_count() <= TBCardinality @@ -583,7 +577,6 @@ namespace { return value; } } -#endif // Step 5. Evaluate the position statically and update parent's gain statistics if (inCheck)