Correctly fix "break from split" patch
In case split cut-offs we return with still some moves to go but we really want to break out from the loop now. No functional change.sf_3_base
parent
dd5b3086f5
commit
a87831230d
|
@ -1016,8 +1016,12 @@ split_point_start: // At split points actual search starts from here
|
|||
&& depth >= Threads.min_split_depth()
|
||||
&& bestValue < beta
|
||||
&& Threads.available_slave_exists(thisThread))
|
||||
{
|
||||
bestValue = Threads.split<FakeSplit>(pos, ss, alpha, beta, bestValue, &bestMove,
|
||||
depth, threatMove, moveCount, mp, NT);
|
||||
if (bestValue >= beta)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (SpNode)
|
||||
|
|
Loading…
Reference in New Issue