From: Gian-Carlo Pascutto Date: Wed, 18 Oct 2017 08:25:12 +0000 (+0200) Subject: Don't filter root moves if MultiPV mode is enabled X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=86ac50403d58ce94efc1f2f3ab85ac25abdb6db9 Don't filter root moves if MultiPV mode is enabled A band-aid patch to workaround current TB code limitations with multi PV. Hopefully this will be removed after committing the big update of TB impementation, now under discussion. No functional change. --- diff --git a/src/search.cpp b/src/search.cpp index f0224d8c..76afd5da 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1588,6 +1588,10 @@ void Tablebases::filter_root_moves(Position& pos, Search::RootMoves& rootMoves) ProbeDepth = Options["SyzygyProbeDepth"] * ONE_PLY; Cardinality = Options["SyzygyProbeLimit"]; + // Don't filter any moves if the user requested analysis on multiple + if (Options["MultiPV"] != 1) + return; + // Skip TB probing when no TB found: !TBLargest -> !TB::Cardinality if (Cardinality > MaxCardinality) {