thisThread = th;
set_state(st);
- assert(pos_is_ok());
-
return *this;
}
// Used by NNUE
st->accumulator.computed_accumulation = false;
- st->accumulator.computed_score = false;
auto& dp = st->dirtyPiece;
dp.dirty_num = 1;
if (Eval::useNNUE)
{
std::memcpy(&newSt, st, sizeof(StateInfo));
- st->accumulator.computed_score = false;
}
else
std::memcpy(&newSt, st, offsetof(StateInfo, accumulator));