Files
Stockfish/src
Marco Costalba d0587f2c7f Use legal positions for endgame initialization
During endgame initialization we get the material
hash key of each endgame forging and ad-hoc position
that in same cases is illegal (leaves teh king under
capture). This is not a problem for the material key,
but rises an assert when SF is run in debug mode with
'testKingCapture' set in pos_is_ok().

So rewrite the code to always produce legal positions.

No functional change.
2014-03-14 09:57:34 +01:00
..
2014-03-11 22:19:14 +01:00
2014-02-14 09:42:50 +01:00
2014-03-01 13:10:05 +01:00
2014-01-07 14:30:41 +09:00
2014-01-02 01:49:18 +01:00
2014-01-07 14:30:41 +09:00
2014-01-02 01:49:18 +01:00
2014-01-18 17:22:54 +01:00
2014-03-03 08:57:20 +01:00
2014-01-02 01:49:18 +01:00
2014-02-09 17:31:45 +01:00
2014-03-14 08:49:08 +01:00
2014-02-22 12:00:14 +01:00
2014-01-02 01:49:18 +01:00
2014-02-14 09:42:50 +01:00
2014-03-09 12:16:27 +01:00
2014-01-02 01:49:18 +01:00
2014-02-16 13:06:31 +01:00
2014-02-16 13:06:31 +01:00
2014-03-01 22:07:41 +01:00
2014-02-12 21:52:21 +01:00
2014-03-08 15:08:55 +01:00
2014-01-02 01:49:18 +01:00
2014-03-14 09:43:19 +01:00
2014-03-13 12:53:03 +01:00
2014-02-03 21:23:49 +01:00
2014-02-12 14:47:36 +01:00
2014-03-03 08:57:20 +01:00
2014-03-01 23:22:14 +01:00
2014-02-09 17:31:45 +01:00
2014-02-12 20:01:11 +01:00
2014-02-09 17:31:45 +01:00
2014-03-03 08:57:20 +01:00
2014-03-08 15:08:55 +01:00
2014-02-09 17:31:45 +01:00
2014-03-01 12:10:42 +01:00
2014-02-09 17:31:45 +01:00