fix accumulator state initialization in set_from_packed_sfen

This commit is contained in:
Tomasz Sobczyk
2021-06-12 18:10:55 +02:00
committed by Stéphane Nicolet
parent aff5cf9ef7
commit c5ed9d1d76

View File

@@ -260,6 +260,8 @@ namespace Stockfish::Tools {
pos.clear();
std::memset(si, 0, sizeof(StateInfo));
si->accumulator.state[WHITE] = Eval::NNUE::INIT;
si->accumulator.state[BLACK] = Eval::NNUE::INIT;
pos.st = si;
// Active color