fixed it in beta cutoff as well | bench 684523

This commit is contained in:
rektdie committed 2025-03-26 20:50:47 +01:00
1 parent 68b5168a40
commit b9f8a5be5a
1 file changed
+1
+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);
}
if (searchStopped) return 0;
TT.WriteEntry(board.hashKey, depth, score, CutNode, Move());
return score;
}