mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 21:27:14 +00:00
Bring the changes closer to official-stockfish/master
This commit is contained in:
+2
-2
@@ -1007,10 +1007,10 @@ void Position::do_null_move(StateInfo& newSt) {
|
||||
st = &newSt;
|
||||
|
||||
// Used by NNUE
|
||||
st->dirtyPiece.dirty_num = 0;
|
||||
st->dirtyPiece.piece[0] = NO_PIECE; // Avoid checks in UpdateAccumulator()
|
||||
st->accumulator.state[WHITE] = Eval::NNUE::EMPTY;
|
||||
st->accumulator.state[BLACK] = Eval::NNUE::EMPTY;
|
||||
auto& dp = st->dirtyPiece;
|
||||
dp.dirty_num = 0;
|
||||
|
||||
if (st->epSquare != SQ_NONE)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user