mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 17:19:36 +00:00
Fix syzygy with partial TB
In case we have installed a not complete set of 6-men tables and there is 6 piece position on board, but no corresponding tablebase engine is not using any syzygy at all. Reported by Jouni Uski, fix by Peter Österlund, confirmed as a bug by Ronald de Man. bench: 7591630
This commit is contained in:
parent
d37dfe9ae4
commit
c5828c4eba
1 changed files with 1 additions and 1 deletions
|
@ -1641,7 +1641,7 @@ void Tablebases::filter_root_moves(Position& pos, Search::RootMoves& rootMoves)
|
|||
RootInTB = root_probe_wdl(pos, rootMoves, TB::Score);
|
||||
|
||||
// Only probe during search if winning
|
||||
if (TB::Score <= VALUE_DRAW)
|
||||
if (RootInTB && TB::Score <= VALUE_DRAW)
|
||||
Cardinality = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue