X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=e24d264d551bd617cc293a34ca0c570ef28d9fe6;hb=ce1c260ea97c14eea996d0a2638f4876ccbc412b;hp=5cdc01698f2425462fdb7ff8929fb29d55c7dcbd;hpb=4d30126e4b0a64c517fb52ec4c24afdc2645663b;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 5cdc0169..e24d264d 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -980,8 +980,8 @@ moves_loop: // When in check and at SpNode search starts from here // Step 19. Check for splitting the search if ( !SpNode - && Threads.size() >= 2 && depth >= Threads.minimumSplitDepth + && Threads.available_slave(thisThread) && ( !thisThread->activeSplitPoint || !thisThread->activeSplitPoint->allSlavesSearching) && thisThread->splitPointsSize < MAX_SPLITPOINTS_PER_THREAD)