Threefold #22

Merged
rektdie merged 5 commits from threefold into main 2025-03-18 14:25:52 +01:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 6453ffa5bd - Show all commits

No files matched your search

+2
View File
@@ -64,6 +64,7 @@ void RunBenchmark() {
int ply = 0;
benchStarted = true;
searchStopped = false;
positionIndex = 0;
// Clearing
TT.Clear();
@@ -82,4 +83,5 @@ void RunBenchmark() {
nodes = 0;
TT.Clear();
benchStarted = false;
positionIndex = 0;
}
+1 -1
View File
@@ -152,7 +152,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
}
}
if (!ply && IsThreefold(board)) return 0;
if (ply && IsThreefold(board)) return 0;
pvLine.SetLength(ply);