mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 19:16:49 +08:00
fix accumulator state initialization in set_from_packed_sfen
This commit is contained in:
committed by
Stéphane Nicolet
parent
aff5cf9ef7
commit
c5ed9d1d76
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user