Threefold #22
No files matched your search
@@ -64,6 +64,7 @@ void RunBenchmark() {
|
|||||||
int ply = 0;
|
int ply = 0;
|
||||||
benchStarted = true;
|
benchStarted = true;
|
||||||
searchStopped = false;
|
searchStopped = false;
|
||||||
|
positionIndex = 0;
|
||||||
|
|
||||||
// Clearing
|
// Clearing
|
||||||
TT.Clear();
|
TT.Clear();
|
||||||
@@ -82,4 +83,5 @@ void RunBenchmark() {
|
|||||||
nodes = 0;
|
nodes = 0;
|
||||||
TT.Clear();
|
TT.Clear();
|
||||||
benchStarted = false;
|
benchStarted = false;
|
||||||
|
positionIndex = 0;
|
||||||
}
|
}
|
||||||
+1
-1
@@ -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);
|
pvLine.SetLength(ply);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user