mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-02-06 20:29:10 +01:00
DroidFish: Fixed syzygy probing bug. See
https://github.com/official-stockfish/Stockfish/issues/394.
This commit is contained in:
parent
55747bd63a
commit
651e649902
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user