encapsulated positionIndex and moved isdraw to board class

This commit is contained in:
rektdie committed 2025-04-11 06:19:17 +02:00
1 parent dd6f0b94f5
commit aa0d34eb8e
7 files changed
+35 -41

No files matched your search

+2 -2
View File
@@ -65,7 +65,7 @@ void RunBenchmark() {
Board board;
int depth = BENCH_DEPTH;
int ply = 0;
positionIndex = 0;
board.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();
positionIndex = 0;
board.positionIndex = 0;
}