]> git.sesse.net Git - stockfish/commitdiff
Pinned aware SEE
authorGuenther Demetz <guenther.demetz@wuerth-phoenix.com>
Mon, 12 Sep 2016 06:47:19 +0000 (08:47 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 12 Sep 2016 07:31:09 +0000 (09:31 +0200)
Don't allow pinned pieces to attack the exchange-square as long all
pinners (this includes also potential ones) are on their original
square.
As soon a pinner moves to the exchange-square or get captured on it, we
fall back to standard SEE behaviour.

This correctly handles the majority of cases with absolute pins.

bench: 6883133


No differences found