1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 08:13:08 +00:00

Use occupied_squares() in book_key()

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2010-11-16 19:28:09 +01:00
parent d08a8d76f7
commit bdfd656c24

View file

@ -528,7 +528,7 @@ namespace {
uint64_t book_key(const Position& pos) {
uint64_t result = 0;
Bitboard b = pos.pieces_of_color(WHITE) | pos.pieces_of_color(BLACK);
Bitboard b = pos.occupied_squares();
while (b)
{