summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3ddf91d)
With rearrangement of fail high code this condition
is no more necessary.
Found by Jörg Oster.
No fuctional change.
// Step 19. Check for splitting the search
if ( !SpNode
&& depth >= Threads.min_split_depth()
// Step 19. Check for splitting the search
if ( !SpNode
&& depth >= Threads.min_split_depth()
&& Threads.available_slave_exists(thisThread))
{
&& 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)
bestValue = Threads.split<FakeSplit>(pos, ss, alpha, beta, bestValue, &bestMove,
depth, threatMove, moveCount, mp, NT);
if (bestValue >= beta)