From b1b7b8234d13683fac0b3153e834aef8325f33ee Mon Sep 17 00:00:00 2001 From: rektdie Date: Thu, 19 Mar 2026 23:42:43 +0100 Subject: [PATCH] before main search, clear killers of the next ply | bench 1508380 --- source/search.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/search.cpp b/source/search.cpp index cd12cd9..f82e37c 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -512,6 +512,9 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC int seenQuietsCount = 0; int seenCapturesCount = 0; + ctx->killerMoves[0][ply + 1] = Move(); + ctx->killerMoves[1][ply + 1] = Move(); + // For all moves Move currMove; while ((currMove = mp.Next())) {