From 4119d0a1d1c27af4296cb6fb5835afb401f70953 Mon Sep 17 00:00:00 2001 From: Terje Date: Tue, 31 Dec 2024 16:56:55 +0100 Subject: [PATCH] Bench: 25584908 --- src/search.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/search.c b/src/search.c index 4cba415e..30c63bee 100644 --- a/src/search.c +++ b/src/search.c @@ -335,6 +335,8 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth } } + (ss+1)->killer = NOMOVE; + // Do a static evaluation for pruning considerations int eval = ss->staticEval = inCheck ? NOSCORE : lastMoveNullMove ? -(ss-1)->staticEval + 2 * Tempo