Files
Stockfish/src
Marco Costalba a9e93fa6a5 Fully correct stealmate detection
In the (rare) cases when the two conditions
are true, then fully check again with a slow
but correct MoveList<LEGAL>(pos).size().

This is able to detect false positives like
this one:

8/8/8/Q7/5k1p/5P2/4KP2/8 b - - 0 17

When we have a possible simple pawn push that
is not stored in attacks[] array. Because the
third condition triggers very rarely, even if
it is slow, it does not alters in a measurable
way the average speed of the engine.

bench: 8678654
2014-05-03 12:12:22 +02:00
..
2014-03-11 22:19:14 +01:00
2014-04-06 10:15:11 +02:00
2014-04-12 08:55:30 +02:00
2014-01-02 01:49:18 +01:00
2014-04-06 11:26:12 +02:00
2014-01-02 01:49:18 +01:00
2014-05-02 11:04:18 +02:00
2014-01-18 17:22:54 +01:00
2014-05-03 12:12:22 +02:00
2014-01-02 01:49:18 +01:00
2014-04-12 13:51:52 +02:00
2014-04-28 17:07:43 +02:00
2014-04-27 09:31:22 +02:00
2014-04-12 09:15:14 +02:00
2014-02-14 09:42:50 +01:00
2014-04-28 17:07:43 +02:00
2014-01-02 01:49:18 +01:00
2014-04-06 11:26:12 +02:00
2014-04-27 11:44:16 +02:00
2014-04-06 10:15:11 +02:00
2014-04-27 11:25:42 +02:00
2014-04-13 14:29:42 +02:00
2014-01-02 01:49:18 +01:00
2014-04-27 11:44:16 +02:00
2014-04-06 11:26:12 +02:00
2014-02-12 14:47:36 +01:00
2014-03-16 10:55:58 +01:00
2014-03-18 12:07:26 +01:00
2014-04-26 09:33:50 +02:00
2014-04-27 19:10:00 +02:00
2014-04-27 12:02:36 +02:00
2014-03-30 14:25:57 +02:00
2014-03-23 11:17:38 +01:00
2014-04-26 09:33:50 +02:00
2014-04-06 11:26:12 +02:00
2014-04-12 13:51:52 +02:00