From 5bc421d9aa520442d277cd105a46ba5cc81178fb Mon Sep 17 00:00:00 2001 From: Terje Date: Sun, 17 Sep 2023 03:40:29 +0200 Subject: [PATCH] Bench: 21508960 --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index 740eae1d..1bf77a8f 100644 --- a/src/search.c +++ b/src/search.c @@ -311,7 +311,7 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth depth--; // Skip pruning in check, pv nodes, early iterations, when proving singularity, looking for terminal scores, or after a null move - if (inCheck || pvNode || !thread->doPruning || ss->excluded || abs(beta) >= TBWIN_IN_MAX || history(-1).move == NOMOVE || (ttMove && GetHistory(thread, ss, ttMove) < 0)) + if (inCheck || pvNode || !thread->doPruning || ss->excluded || abs(beta) >= TBWIN_IN_MAX || history(-1).move == NOMOVE || (ttMove && GetHistory(thread, ss, ttMove) < -10000)) goto move_loop; // Reverse Futility Pruning