From e02c1d7ac17939f270a2aa6754c7c3ac3086f10a Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Sun, 29 Dec 2024 14:49:12 +0300 Subject: [PATCH] bench: 1294909 bench: 1294909 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 192b837c902..7dcd98c381e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -349,7 +349,7 @@ void Search::Worker::iterative_deepening() { // When failing high/low give some update before a re-search. To avoid // excessive output that could hang GUIs like Fritz 19, only start // at nodes > 10M (rather than depth N, which can be reached quickly) - if (mainThread && multiPV == 1 && (bestValue <= alpha || bestValue >= beta) + if (mainThread && multiPV == 1 && (bestValue > alpha && bestValue < beta) && nodes > 10000000) main_manager()->pv(*this, threads, tt, rootDepth);