mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 14:27:45 +00:00
fix accumulator state initialization in set_from_packed_sfen
This commit is contained in:
@@ -260,6 +260,8 @@ namespace Stockfish::Tools {
|
|||||||
|
|
||||||
pos.clear();
|
pos.clear();
|
||||||
std::memset(si, 0, sizeof(StateInfo));
|
std::memset(si, 0, sizeof(StateInfo));
|
||||||
|
si->accumulator.state[WHITE] = Eval::NNUE::INIT;
|
||||||
|
si->accumulator.state[BLACK] = Eval::NNUE::INIT;
|
||||||
pos.st = si;
|
pos.st = si;
|
||||||
|
|
||||||
// Active color
|
// Active color
|
||||||
|
|||||||
Reference in New Issue
Block a user