Revert "encapsulated positionIndex and moved isdraw to board class"

This reverts commit aa0d34eb8e.
This commit is contained in:
rektdie committed 2025-04-12 10:59:04 +02:00
1 parent 3275cee01e
commit ce01c7756b
7 files changed
+41 -35

No files matched your search

+2 -2
View File
@@ -65,7 +65,7 @@ void RunBenchmark() {
Board board;
int depth = BENCH_DEPTH;
int ply = 0;
board.positionIndex = 0;
positionIndex = 0;
// Clearing
TT.Clear();
@@ -81,5 +81,5 @@ void RunBenchmark() {
std::cout << ctx.nodes << " nodes " << int(ctx.nodes/sw.GetElapsedSec()) << " nps" << std::endl;
TT.Clear();
board.positionIndex = 0;
positionIndex = 0;
}