From 39273f5c908e3673f519127a02e42d2ca727eea0 Mon Sep 17 00:00:00 2001 From: Jay Honnold Date: Sat, 30 Sep 2023 03:23:30 -0700 Subject: [PATCH] Bench: 3557275 --- src/search.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/search.c b/src/search.c index e3da14bb..bb86426a 100644 --- a/src/search.c +++ b/src/search.c @@ -458,8 +458,7 @@ int Negamax(int alpha, int beta, int depth, int cutnode, ThreadData* thread, PV* // Reverse Futility Pruning // i.e. the static eval is so far above beta we prune if (depth <= 8 && !ss->skip && eval < WINNING_ENDGAME && eval >= beta && - eval - 69 * depth + 112 * (improving && !board->easyCapture) >= beta && - (!hashMove || GetHistory(ss, thread, hashMove) > 12288)) + eval - 69 * depth + 112 * improving >= beta && (!hashMove || GetHistory(ss, thread, hashMove) > 12288)) return eval; // Razoring