X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=4ef145781511aacbf61930844dcf5153b8942ba4;hp=c7cabeb7e131afcdc75d4a036666c8c6407449a7;hb=ffa150bec3af540fbaff57fdbb657940225e69e6;hpb=13bc6ba2c69f326017dcc771d1e45a096e23e0c4 diff --git a/src/thread.cpp b/src/thread.cpp index c7cabeb7..4ef14578 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -240,7 +240,7 @@ bool ThreadsManager::available_slave_exists(int master) const { template void ThreadsManager::split(Position& pos, SearchStack* ss, Value* alpha, const Value beta, Value* bestValue, Depth depth, Move threatMove, - int moveCount, MovePicker* mp, bool pvNode) { + int moveCount, MovePicker* mp, int nodeType) { assert(pos.is_ok()); assert(*bestValue >= -VALUE_INFINITE); assert(*bestValue <= *alpha); @@ -275,7 +275,7 @@ void ThreadsManager::split(Position& pos, SearchStack* ss, Value* alpha, const V splitPoint.threatMove = threatMove; splitPoint.alpha = *alpha; splitPoint.beta = beta; - splitPoint.pvNode = pvNode; + splitPoint.nodeType = nodeType; splitPoint.bestValue = *bestValue; splitPoint.mp = mp; splitPoint.moveCount = moveCount; @@ -341,5 +341,5 @@ void ThreadsManager::split(Position& pos, SearchStack* ss, Value* alpha, const V } // Explicit template instantiations -template void ThreadsManager::split(Position&, SearchStack*, Value*, const Value, Value*, Depth, Move, int, MovePicker*, bool); -template void ThreadsManager::split(Position&, SearchStack*, Value*, const Value, Value*, Depth, Move, int, MovePicker*, bool); +template void ThreadsManager::split(Position&, SearchStack*, Value*, const Value, Value*, Depth, Move, int, MovePicker*, int); +template void ThreadsManager::split(Position&, SearchStack*, Value*, const Value, Value*, Depth, Move, int, MovePicker*, int);