Skip to content

Commit 4941426

Browse files
committed
Simplify
1 parent 397271d commit 4941426

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/nnue/features/full_threats.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ auto ThreatOffsets = []() {
4040
// R A C P N B K _ r a c p n b k
4141
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, // _
4242
{ 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0}, // R
43-
{ 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0}, // A
43+
{ 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0}, // A
4444
{ 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0}, // C
4545
{ 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0}, // P
4646
{ 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0}, // N
4747
{ 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0}, // B
48-
{ 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0}, // K
48+
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, // K
4949
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, // _
5050
{ 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1}, // r
5151
{ 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1}, // a

src/nnue/features/full_threats.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class FullThreats {
3939
static constexpr std::uint32_t HashValue = 0xd17b100;
4040

4141
// Number of feature dimensions
42-
static constexpr IndexType Dimensions = 45649;
42+
static constexpr IndexType Dimensions = 45547;
4343

4444
// Maximum number of simultaneously active features.
4545
static constexpr IndexType MaxActiveDimensions = 64;

0 commit comments

Comments
 (0)