X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=e24d264d551bd617cc293a34ca0c570ef28d9fe6;hp=5cdc01698f2425462fdb7ff8929fb29d55c7dcbd;hb=84dabe5982dab5ee65770eeb77c4f966db9514f8;hpb=7f56d2949d4244c9d2e6796adc721582e9d85804 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)