From 68b5168a400bc8746b79cb679fe75843bf77b04f Mon Sep 17 00:00:00 2001 From: rektdie Date: Wed, 26 Mar 2025 17:50:40 +0100 Subject: [PATCH] storing to TT after checking if search stopped | bench 684523 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 31c7d2b..99696c8 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -303,8 +303,8 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) { } } - TT.WriteEntry(board.hashKey, depth, results.score, nodeType, results.bestMove); if (searchStopped) return 0; + TT.WriteEntry(board.hashKey, depth, results.score, nodeType, results.bestMove); return results; }