bugfix + resetting positionIndex in benchmark | bench 1143612
This commit is contained in:
1 parent
4a8f8e1ee7
commit
6453ffa5bd
2 files changed
+3
-1
No files matched your search
@@ -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
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user