X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=b39bc1764dbda697e8a4d19985abd435a8f3c61c;hp=d06ca8f3bfd98ed3f4755ad0e0571836ba502b15;hb=5b35c149e833e365c2afb8039ca5c658abc53081;hpb=9a542d96981e6cb45b6b01f17258a078cf27da36 diff --git a/src/search.cpp b/src/search.cpp index d06ca8f3..b39bc176 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1228,8 +1228,8 @@ split_point_start: // At split points actual search starts from here && Threads.available_slave_exists(pos.thread()) && !StopRequest && !thread.cutoff_occurred()) - Threads.split(pos, ss, &alpha, beta, &bestValue, depth, - threatMove, moveCount, &mp, NT); + bestValue = Threads.split(pos, ss, alpha, beta, bestValue, depth, + threatMove, moveCount, &mp, NT); } // Step 20. Check for mate and stalemate