X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=654efb3265f453caf9e8cfe398e04c625abc0b08;hp=f6c2233b1519b8887f19919c789059e603e019d7;hb=52bbf372bb4956595e730f4dba05ee6b78305ad0;hpb=a2f46446cf1c91bc293a6acea9ce268e81534042 diff --git a/src/search.cpp b/src/search.cpp index f6c2233b..654efb32 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1003,9 +1003,10 @@ split_point_start: // At split points actual search starts from here // Step 19. Check for splitting the search if ( !SpNode && depth >= Threads.min_split_depth() - && bestValue < beta && Threads.available_slave_exists(thisThread)) { + assert(bestValue < beta); + bestValue = Threads.split(pos, ss, alpha, beta, bestValue, &bestMove, depth, threatMove, moveCount, mp, NT); if (bestValue >= beta)