X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=e1c1f8a941dba8b7b8c40f42748885ee9ef30fa8;hp=cf35c28857305b68c7b17ff768836b51d27956c1;hb=852d45a60004bc5a0a39a94e5a340af00dc317c1;hpb=5b8ca1eee77b736c35b418b1cb11da9fc66f83e0 diff --git a/src/thread.cpp b/src/thread.cpp index cf35c288..e1c1f8a9 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -263,7 +263,7 @@ Value ThreadsManager::split(Position& pos, Stack* ss, Value alpha, Value beta, Value bestValue, Depth depth, Move threatMove, int moveCount, MovePicker* mp, int nodeType) { assert(pos.pos_is_ok()); - assert(bestValue >= -VALUE_INFINITE); + assert(bestValue > -VALUE_INFINITE); assert(bestValue <= alpha); assert(alpha < beta); assert(beta <= VALUE_INFINITE); @@ -443,7 +443,7 @@ void ThreadsManager::start_thinking(const Position& pos, const LimitsType& limit // Copy input arguments to initialize the search RootPosition.copy(pos, 0); Limits = limits; - RootMoves = searchMoves; + SearchMoves = searchMoves; // Reset signals before to start the new search memset((void*)&Signals, 0, sizeof(Signals));