From 295da0b1269e60181754f2ee8f2bd8eab5ad4f97 Mon Sep 17 00:00:00 2001 From: Terje Date: Wed, 19 Feb 2025 15:32:16 +0100 Subject: [PATCH] Bench: 26784784 --- src/search.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/search.c b/src/search.c index edb689db..edd917e4 100644 --- a/src/search.c +++ b/src/search.c @@ -548,6 +548,8 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth // Reduce more in cut nodes r += 2 * cutnode; + r += cutnode && !ttMove; + // Depth after reductions, avoiding going straight to quiescence as well as extending Depth lmrDepth = CLAMP(newDepth - r, 1, newDepth);