mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 17:49:35 +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 {
|
struct alignas(32) Accumulator {
|
||||||
std::int16_t
|
std::int16_t
|
||||||
accumulation[2][kRefreshTriggers.size()][kTransformedFeatureDimensions];
|
accumulation[2][kRefreshTriggers.size()][kTransformedFeatureDimensions];
|
||||||
Value score = VALUE_ZERO;
|
Value score;
|
||||||
bool computed_accumulation = false;
|
bool computed_accumulation;
|
||||||
bool computed_score = false;
|
bool computed_score;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Eval::NNUE
|
} // namespace Eval::NNUE
|
||||||
|
|
|
@ -294,9 +294,6 @@ enum PieceSquare : uint32_t
|
||||||
struct ExtPieceSquare
|
struct ExtPieceSquare
|
||||||
{
|
{
|
||||||
PieceSquare from[COLOR_NB];
|
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
|
// Array for finding the PieceSquare corresponding to the piece on the board
|
||||||
|
|
Loading…
Add table
Reference in a new issue