From 8c6a4ef0f57f7395816a3edd367d9fe9ca4d92f4 Mon Sep 17 00:00:00 2001 From: Terje Date: Thu, 26 Dec 2024 23:26:02 +0100 Subject: [PATCH] Bench: 26207171 --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index 251cc4d2..3a28f48a 100644 --- a/src/search.c +++ b/src/search.c @@ -532,7 +532,7 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth // Reduced depth zero-window search if ( depth > 2 - && moveCount > MAX(1, pvNode + !ttMove + root + !quiet) + && moveCount > MAX(1, pvNode + (pvNode && !ttMove) + root + !quiet) && thread->doPruning) { // Base reduction