bb: getOccupancy based on index value

This commit is contained in:
rektdie committed 2024-03-11 23:23:52 +01:00
1 parent 20f0ea142a
commit 9680d905bd
3 files changed
+21 -1

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ public:
int popCount() const;
int getLS1BIndex() const;
static Bitboard getOccupancy(int index, Bitboard attackMask);
static Bitboard GetSquare(int square) {
return (1ULL << square);