Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Two bug fixes:
1. Wrong sign in probe_dtz() (fixed in SF master some months ago) which may cause probe_dtz() to return -1 if the position is losing with abs(dtz) > 1 and a (losing) ep capture is available. 2. In testing pawn moves in probe_dtz_no_ep(), probe_ab() was called also if the pawn move is a double push and creates ep rights. But probe_ab() does not test ep captures.
- Loading branch information