Threefold #22

Merged
rektdie merged 5 commits from threefold into main 2025-03-18 14:25:52 +01:00
Showing only changes of commit a6126b1e8b - Show all commits
+1 -1
View File
@@ -152,9 +152,9 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
} }
} }
pvLine.SetLength(ply);
if (ply && IsThreefold(board)) return 0; if (ply && IsThreefold(board)) return 0;
pvLine.SetLength(ply);
// if NOT PV node then we try to hit the TTable // if NOT PV node then we try to hit the TTable
if (beta - alpha == 1) { if (beta - alpha == 1) {