Files
stockfish/src
Marco Costalba f22a63ce67 Fix pos.count<ALL_PIECES>()
It was never updated !

Currently it only affects evaluate_passed_pawns()
and in particularly the rule to increase the bonus
if we have more non-pawn pieces. We could simply use
popcount() instead and avoid the little slowdown
in put_piece() and remove_piece(), but this would
leave a very subtle and tricky hole where people
are forced to remember that pos.count<ALL_PIECES>()
does not work. This is not obvious and so dangerous.

Thanks to Ronald de Man for spotting this.

bench: 7931424
2013-10-20 23:36:46 +02:00
..
2013-07-24 19:49:17 +02:00
2013-09-27 09:04:24 +02:00
2013-07-24 19:49:17 +02:00
2013-10-15 07:36:01 +02:00
2013-10-14 19:38:08 +02:00
2013-10-20 23:19:08 +02:00
2013-07-24 19:49:17 +02:00
2013-09-28 04:16:16 -07:00
2013-07-24 19:49:17 +02:00
2013-10-05 18:12:52 +02:00
2013-08-03 18:30:43 +02:00
2013-09-28 10:10:51 +02:00
2013-10-05 18:12:52 +02:00
2013-07-24 19:49:17 +02:00
2013-10-18 10:27:55 +02:00
2013-09-16 08:57:37 +02:00
2013-08-03 18:30:43 +02:00
2013-10-20 23:36:46 +02:00
2013-07-24 19:49:17 +02:00
2013-10-13 03:35:17 -07:00
2013-10-09 19:13:41 +02:00
2013-07-24 19:49:17 +02:00
2013-09-28 06:47:59 -07:00
2013-10-05 18:12:52 +02:00
2013-10-05 18:10:43 +02:00
2013-10-05 18:10:43 +02:00
2013-10-13 03:35:17 -07:00
2013-08-21 08:41:47 +02:00