From: Marco Costalba Date: Sun, 3 Feb 2013 08:01:55 +0000 (+0100) Subject: Correctly score enpassant captures X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=5f58db8c9971d8709093ca3c97cecdc99c61303e;hp=5f58db8c9971d8709093ca3c97cecdc99c61303e;ds=sidebyside Correctly score enpassant captures Surprisingly this rare case was not considered when scoring a capture. Also take in account that in the promotion case we gain a new piece (typically a queen) but we lose the promoting pawn. These small issues were present since Glaurung times! Found while browsing DiscoCheck sources bench: 5400063 ---