encapsulated positionIndex and moved isdraw to board class
This commit is contained in:
1 parent
dd6f0b94f5
commit
aa0d34eb8e
7 files changed
+35
-41
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user