mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Use occupied_squares() in book_key()
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
d08a8d76f7
commit
bdfd656c24
1 changed files with 1 additions and 1 deletions
|
@ -528,7 +528,7 @@ namespace {
|
||||||
uint64_t book_key(const Position& pos) {
|
uint64_t book_key(const Position& pos) {
|
||||||
|
|
||||||
uint64_t result = 0;
|
uint64_t result = 0;
|
||||||
Bitboard b = pos.pieces_of_color(WHITE) | pos.pieces_of_color(BLACK);
|
Bitboard b = pos.occupied_squares();
|
||||||
|
|
||||||
while (b)
|
while (b)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue