before main search, clear killers of the next ply | bench 1508380 #158

Merged
rektdie merged 1 commits from clear-killers into main 2026-03-20 09:35:46 +01:00
Showing only changes of commit b1b7b8234d - Show all commits
+3
View File
@@ -512,6 +512,9 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
int seenQuietsCount = 0; int seenQuietsCount = 0;
int seenCapturesCount = 0; int seenCapturesCount = 0;
ctx->killerMoves[0][ply + 1] = Move();
ctx->killerMoves[1][ply + 1] = Move();
// For all moves // For all moves
Move currMove; Move currMove;
while ((currMove = mp.Next())) { while ((currMove = mp.Next())) {