From 86ac50403d58ce94efc1f2f3ab85ac25abdb6db9 Mon Sep 17 00:00:00 2001 From: Gian-Carlo Pascutto Date: Wed, 18 Oct 2017 10:25:12 +0200 Subject: [PATCH 1/1] 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. --- src/search.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- 2.39.2