From f2d76b11339c18d534f8e38c41861c43a8d12d7b Mon Sep 17 00:00:00 2001 From: rektdie Date: Thu, 20 Mar 2025 20:47:09 +0100 Subject: [PATCH] clearing killer and history after bench --- source/benchmark.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/benchmark.cpp b/source/benchmark.cpp index db6e0a3..db3e04d 100644 --- a/source/benchmark.cpp +++ b/source/benchmark.cpp @@ -85,5 +85,7 @@ void RunBenchmark() { nodes = 0; TT.Clear(); benchStarted = false; + std::memset(killerMoves, 0, sizeof(killerMoves)); + history.Clear(); positionIndex = 0; }