Skip to content

Commit 4b203b6

Browse files
committed
Skip resolving fail high at low depths.
Test on top of PR official-stockfish#1768 bench: 2187615
1 parent acb6aeb commit 4b203b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ void Thread::search() {
439439
}
440440
else if (bestValue >= beta)
441441
{
442-
if (mainThread && rootDepth < 14 * ONE_PLY)
442+
if (mainThread && rootDepth < 14 * ONE_PLY )
443443
break;
444444
beta = std::min(bestValue + delta, VALUE_INFINITE);
445445
++failedHighCnt;

0 commit comments

Comments
 (0)