Skip to content

Commit

Permalink
Fix for issue
Browse files Browse the repository at this point in the history
official-stockfish#394
Credit and thanks to syzygy1 and lantonov !
  • Loading branch information
mstembera authored and mstembera committed Sep 2, 2015
1 parent 84a641b commit 884bb7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syzygy/tbprobe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ int Tablebases::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

0 comments on commit 884bb7b

Please sign in to comment.