Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This lost position 8/8/3q4/8/5k2/2P1R3/2K2P2/8 w - - 0 1 was previously evaluated as a draw. The king and rook need to be correctly placed with respect to the _same_ pawn. (Note also that the check for the pawn being on RANK_2 in the old version is redundant: it must be on RANK_2 if it hopes to protect a rook on RANK_3) Signed-off-by: Marco Costalba <mcostalba@gmail.com>
- Loading branch information