From d78c66712adb34d2c7e72a2e8f9fb7b1c715f15b Mon Sep 17 00:00:00 2001 From: Jay Honnold Date: Mon, 26 Feb 2024 09:42:40 -0700 Subject: [PATCH] Bench: 2662387 --- src/search.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/search.c b/src/search.c index 2a8a12da..866218cd 100644 --- a/src/search.c +++ b/src/search.c @@ -618,6 +618,7 @@ int Negamax(int alpha, int beta, int depth, int cutnode, ThreadData* thread, PV* int R = LMR[Min(depth, 63)][Min(legalMoves, 63)]; R -= history / 8192; // adjust reduction based on historical score R += (IsCap(hashMove) || IsPromo(hashMove)); // increase reduction if hash move is noisy + R += !improving; if (bestScore > -TB_WIN_BOUND) { if (!isRoot && legalMoves >= LMP[improving][depth]) @@ -708,10 +709,6 @@ int Negamax(int alpha, int beta, int depth, int cutnode, ThreadData* thread, PV* if (!ttPv) R += 2; - // increase reduction if our eval is declining - if (!improving) - R++; - // reduce these special quiets less if (killerOrCounter) R -= 2;