encapsulated killerMoves and changed it to std::array
This commit is contained in:
1 parent
ac7325f295
commit
dd6f0b94f5
5 files changed
+9
-12
No files matched your search
@@ -69,7 +69,6 @@ void RunBenchmark() {
|
||||
|
||||
// Clearing
|
||||
TT.Clear();
|
||||
std::memset(killerMoves, 0, sizeof(killerMoves));
|
||||
|
||||
SearchContext ctx;
|
||||
|
||||
@@ -82,6 +81,5 @@ void RunBenchmark() {
|
||||
|
||||
std::cout << ctx.nodes << " nodes " << int(ctx.nodes/sw.GetElapsedSec()) << " nps" << std::endl;
|
||||
TT.Clear();
|
||||
std::memset(killerMoves, 0, sizeof(killerMoves));
|
||||
positionIndex = 0;
|
||||
}
|
||||
Reference in new issue
Block a user