Skip to content

Commit

Permalink
DroidFish: Fixed syzygy probing bug. See
Browse files Browse the repository at this point in the history
  • Loading branch information
peterosterlund2 committed Sep 3, 2015
1 parent 55747bd commit 651e649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DroidFish/jni/rtb/rtb-probe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

1 comment on commit 651e649

@mstembera
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@peterosterlund2
Hi Peter. Could you please confirm Joonas understanding of the patch here if you can?
official-stockfish/Stockfish#415
Thank you!

Please sign in to comment.