From bfe9b2f08c6559072fa68d9c634b23bcbc5ac8f0 Mon Sep 17 00:00:00 2001 From: Jay Honnold Date: Sat, 23 Nov 2024 09:42:50 -0700 Subject: [PATCH] Bench: 2228015 --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index 55926f2d..8059fff6 100644 --- a/src/search.c +++ b/src/search.c @@ -894,7 +894,7 @@ int Quiesce(int alpha, int beta, int depth, ThreadData* thread, SearchStack* ss) // stand pat if (eval >= beta) - return eval; + return beta; if (eval > alpha) alpha = eval;