mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Don't need to check for bestValue < beta to split
With rearrangement of fail high code this condition is no more necessary. Found by Jörg Oster. No fuctional change.
This commit is contained in:
@@ -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<FakeSplit>(pos, ss, alpha, beta, bestValue, &bestMove,
|
||||
depth, threatMove, moveCount, mp, NT);
|
||||
if (bestValue >= beta)
|
||||
|
||||
Reference in New Issue
Block a user