Files
Stockfish/src
Marco Costalba 200fc56e9c Fix 'generation' type to uint8_t
When we store this value in TT we cut this to 9 bits,
so we need a smaller variable otherwise comparisons
like:

   replace->generation() == generation

Are always false if generation is bigger then the maximum
TT storable value.

This fixes a very nasty and difficult to spot bug (2 weeks for
regression hunting).

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2010-11-28 17:01:01 +01:00
..
2010-11-22 18:36:18 +01:00
2010-11-07 10:53:19 +01:00
2010-10-09 13:05:58 +01:00
2010-08-26 18:52:53 +02:00
2010-10-04 18:40:44 +01:00
2010-11-22 18:36:18 +01:00
2008-09-01 07:59:13 +02:00
2010-03-20 11:27:07 +01:00
2010-11-07 10:53:19 +01:00
2010-11-07 10:53:19 +01:00
2010-07-15 16:55:35 +01:00
2010-08-19 13:48:20 +01:00
2010-10-17 11:04:52 +01:00
2010-11-22 18:36:18 +01:00
2010-11-22 18:36:18 +01:00
2010-11-22 18:36:18 +01:00
2010-11-22 13:13:48 +01:00
2010-10-09 13:05:58 +01:00
2010-11-16 13:43:05 +01:00
2010-08-06 12:10:07 +01:00
2010-11-28 17:01:01 +01:00
2010-11-28 17:01:01 +01:00
2010-11-22 18:36:18 +01:00
2010-11-22 13:13:48 +01:00
2010-11-21 12:49:16 +01:00
2010-11-07 13:51:03 +01:00
2010-11-08 18:51:42 +01:00
2010-11-22 13:13:48 +01:00
2010-10-31 11:22:40 +01:00
2010-11-27 21:26:00 +01:00
2010-10-31 11:22:40 +01:00
2010-10-09 13:05:58 +01:00
2010-11-22 18:36:18 +01:00
2010-11-28 17:01:01 +01:00
2010-11-22 18:36:18 +01:00
2010-11-21 14:25:30 +01:00
2010-08-26 13:41:26 +01:00