Files
Stockfish/src
Joona Kiiski 69644d3f73 Copy 4 SearchStack items in split()
In search routines we use information from previous ply
and init killers two plies ahead.

So for me it seems correct to copy 4 searchstack items
in split:

ply - 1, ply, ply + 1, ply + 2

Because
a) we do not split at root (ply == 0)
b) ply < PLY_MAX and SearchStack size is PLY_MAX_PLUS_2
there should be no risk of underflows or overflows

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2010-02-05 18:06:41 +01:00
..
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-05-07 14:54:40 +02:00
2009-11-23 20:59:24 +01:00
2010-01-31 09:39:32 +01:00
2009-05-07 14:54:40 +02:00
2009-05-10 18:38:47 +01:00
2008-09-01 07:59:13 +02:00
2009-05-07 14:54:40 +02:00
2010-02-01 20:06:56 +01:00
2009-11-01 17:05:00 +01:00
2010-01-31 09:39:32 +01:00
2010-02-01 19:33:02 +01:00
2008-09-24 00:32:53 +02:00
2009-05-07 14:54:40 +02:00
2009-12-30 13:25:21 +01:00
2009-05-10 18:38:47 +01:00
2009-11-14 17:57:50 +01:00
2009-11-14 17:57:50 +01:00
2009-05-07 14:54:40 +02:00
2009-09-04 08:21:07 +01:00
2010-01-27 09:57:14 +01:00
2010-01-27 09:57:14 +01:00
2009-07-02 06:29:14 +01:00
2009-05-07 14:54:40 +02:00
2010-02-05 18:06:41 +01:00
2009-05-07 14:54:40 +02:00
2010-02-05 15:21:05 +01:00
2010-02-01 16:53:10 +01:00
2010-02-01 16:53:10 +01:00
2009-11-07 10:08:28 +01:00
2010-01-27 20:03:44 +01:00
2009-05-07 14:54:40 +02:00
2010-02-01 16:53:10 +01:00
2009-05-10 18:38:47 +01:00
2009-05-07 14:54:40 +02:00
2010-01-19 23:30:23 +01:00