Tt storing fix #34

Merged
rektdie merged 6 commits from tt_storing_fix into main 2025-03-27 00:12:33 +01:00
Showing only changes of commit b9f8a5be5a - Show all commits
+1
View File
@@ -281,6 +281,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
history.Update(board.sideToMove, currMove, depth * depth); history.Update(board.sideToMove, currMove, depth * depth);
} }
if (searchStopped) return 0;
TT.WriteEntry(board.hashKey, depth, score, CutNode, Move()); TT.WriteEntry(board.hashKey, depth, score, CutNode, Move());
return score; return score;
} }