1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 09:13:08 +00:00
BadFish/src/syzygy
mstembera 46b5a5f0db 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
2015-09-06 22:19:33 +01:00
..
tbcore.cpp Fix syzygy warnings with Intel compiler 2015-01-18 07:29:51 +01:00
tbcore.h Fix compile for some versions of mingw 2014-12-14 14:45:43 -05:00
tbprobe.cpp Fix syzygy en passant issue 2015-09-06 22:19:33 +01:00
tbprobe.h Explicitly pass RootMoves to TB probes 2014-12-06 15:08:21 +00:00