]> git.sesse.net Git - stockfish/commitdiff
Fix a crash when reaching PLY_MAX in a check position
authorMarco Costalba <mcostalba@gmail.com>
Mon, 12 Oct 2009 14:19:29 +0000 (15:19 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 12 Oct 2009 14:32:50 +0000 (15:32 +0100)
In this case we call evaluate() being in check and this
is not allowed.

Bug found testing with reduced PLY_MAX value as suggested
by Miguel A. Ballicora on talkchess.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found