mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-13 01:22:41 +01:00
DroidFish: Fixed syzygy probing bug. See
https://github.com/official-stockfish/Stockfish/issues/394.
This commit is contained in:
@@ -578,7 +578,7 @@ int Syzygy::probe_dtz(Position& pos, int *success)
|
||||
if (v1 >= 0)
|
||||
v = v1;
|
||||
} else if (v < 0) {
|
||||
if (v1 >= 0 || v1 < 100)
|
||||
if (v1 >= 0 || v1 < -100)
|
||||
v = v1;
|
||||
} else if (v > 100) {
|
||||
if (v1 > 0)
|
||||
|
||||
Reference in New Issue
Block a user