mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
Fix memset/memcpy warnings
No functional change.
This commit is contained in:
parent
ab09c74783
commit
cae61bbb65
2 changed files with 3 additions and 6 deletions
|
@ -12,9 +12,9 @@ namespace Eval::NNUE {
|
|||
struct alignas(32) Accumulator {
|
||||
std::int16_t
|
||||
accumulation[2][kRefreshTriggers.size()][kTransformedFeatureDimensions];
|
||||
Value score = VALUE_ZERO;
|
||||
bool computed_accumulation = false;
|
||||
bool computed_score = false;
|
||||
Value score;
|
||||
bool computed_accumulation;
|
||||
bool computed_score;
|
||||
};
|
||||
|
||||
} // namespace Eval::NNUE
|
||||
|
|
|
@ -294,9 +294,6 @@ enum PieceSquare : uint32_t
|
|||
struct ExtPieceSquare
|
||||
{
|
||||
PieceSquare from[COLOR_NB];
|
||||
|
||||
ExtPieceSquare() {}
|
||||
ExtPieceSquare(PieceSquare fw, PieceSquare fb) : from{fw, fb} {}
|
||||
};
|
||||
|
||||
// Array for finding the PieceSquare corresponding to the piece on the board
|
||||
|
|
Loading…
Add table
Reference in a new issue