Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the pawn hash failure when the pawn key is 0
This patch fixed bugs official-stockfish#859 and official-stockfish#882. At initialization we generate a new random key (Zobrist::noPawns). It's added to the pawn key of all positions, so that the pawn key of a pawnless position is no longer 0. STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 21307 W: 3738 L: 3618 D: 13951 LTC: LLR: 2.94 (-2.94,2.94) [-3.00,1.00] Total: 45270 W: 5737 L: 5648 D: 33885 No functional change.
- Loading branch information