DroidFish: Fixed syzygy probing bug. See

https://github.com/official-stockfish/Stockfish/issues/394.
This commit is contained in:
Peter Osterlund
2015-09-03 20:19:11 +02:00
parent 55747bd63a
commit 651e649902

View File

@@ -578,7 +578,7 @@ int Syzygy::probe_dtz(Position& pos, int *success)
if (v1 >= 0) if (v1 >= 0)
v = v1; v = v1;
} else if (v < 0) { } else if (v < 0) {
if (v1 >= 0 || v1 < 100) if (v1 >= 0 || v1 < -100)
v = v1; v = v1;
} else if (v > 100) { } else if (v > 100) {
if (v1 > 0) if (v1 > 0)