mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 02:57:11 +08:00
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.
This commit is contained in:
committed by
Marco Costalba
parent
0dc3b0978d
commit
86ac50403d
@@ -1588,6 +1588,10 @@ void Tablebases::filter_root_moves(Position& pos, Search::RootMoves& rootMoves)
|
|||||||
ProbeDepth = Options["SyzygyProbeDepth"] * ONE_PLY;
|
ProbeDepth = Options["SyzygyProbeDepth"] * ONE_PLY;
|
||||||
Cardinality = Options["SyzygyProbeLimit"];
|
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
|
// Skip TB probing when no TB found: !TBLargest -> !TB::Cardinality
|
||||||
if (Cardinality > MaxCardinality)
|
if (Cardinality > MaxCardinality)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user