Skip to content

Commit 503fa01

Browse files
committed
Bug fix
1 parent d539da1 commit 503fa01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/position.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ void Position::do_null_move(StateInfo& newSt) {
10001000
if (Eval::useNNUE)
10011001
{
10021002
std::memcpy(&newSt, st, sizeof(StateInfo));
1003-
st->accumulator.computed_score = false;
1003+
newSt.accumulator.computed_score = false;
10041004
}
10051005
else
10061006
std::memcpy(&newSt, st, offsetof(StateInfo, accumulator));

0 commit comments

Comments
 (0)