main()->callsCnt = 0;
main()->previousScore = VALUE_INFINITE;
- main()->previousTimeReduction = 1;
+ main()->previousTimeReduction = 1.0;
}
/// ThreadPool::start_thinking() wakes up main thread waiting in idle_loop() and
for (Thread* th : *this)
{
- th->nodes = th->tbHits = 0;
+ th->nodes = th->tbHits = th->nmp_ply = th->nmp_odd = 0;
th->rootDepth = th->completedDepth = DEPTH_ZERO;
th->rootMoves = rootMoves;
th->rootPos.set(pos.fen(), pos.is_chess960(), &setupStates->back(), th);
- th->nmp_ply = 0;
- th->pair = -1;
}
setupStates->back() = tmp;