X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.cpp;h=2b42ce019ddfdc2765009bfd91a0dfa68be95c76;hp=0c38e182ba3633f5c6040f3f810d34de74657a6f;hb=d4876dc96395f5592bfbc25b2eca2360db0655e6;hpb=3249777cdb2b9e8c4eb40970483544133545ae20 diff --git a/src/bitboard.cpp b/src/bitboard.cpp index 0c38e182..2b42ce01 100644 --- a/src/bitboard.cpp +++ b/src/bitboard.cpp @@ -404,7 +404,7 @@ namespace { } for (Bitboard b = 0ULL; b < 256ULL; b++) - BitCount8Bit[b] = (uint8_t)count_1s(b); + BitCount8Bit[b] = (uint8_t)count_1s(b); } int remove_bit_8(int i) { return ((i & ~15) >> 1) | (i & 7); } @@ -494,7 +494,7 @@ namespace { Bitboard index_to_bitboard(int index, Bitboard mask) { Bitboard result = 0ULL; - int bits = count_1s(mask); + int bits = count_1s(mask); for (int i = 0; i < bits; i++) {