From: mstembera Date: Wed, 2 Sep 2015 00:36:03 +0000 (-0700) Subject: Fix syzygy en passant issue X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=46b5a5f0db5a65bc88da373f87b3280bcf0875e1;hp=46b5a5f0db5a65bc88da373f87b3280bcf0875e1;ds=sidebyside Fix syzygy en passant issue v = value without ep capture being considered v1 = value of the ep capture The correct logic is: if without e.p. capture we are losing, and the value of e.p is either draw, or win or "loss, but 50 move rule saves us", then we should use the value of ep capture. Credit and thanks to syzygy1 and lantonov ! No functional change (except with syzygy bases) Resolves #415 Resolves #394 ---