encapsulated history
This commit is contained in:
1 parent
818b549cba
commit
91ec9282a0
5 files changed
+16
-19
No files matched your search
@@ -71,8 +71,6 @@ void RunBenchmark() {
|
||||
// Clearing
|
||||
TT.Clear();
|
||||
std::memset(killerMoves, 0, sizeof(killerMoves));
|
||||
|
||||
history.Clear();
|
||||
|
||||
SearchContext ctx;
|
||||
|
||||
@@ -86,6 +84,5 @@ void RunBenchmark() {
|
||||
std::cout << ctx.nodes << " nodes " << int(ctx.nodes/sw.GetElapsedSec()) << " nps" << std::endl;
|
||||
TT.Clear();
|
||||
std::memset(killerMoves, 0, sizeof(killerMoves));
|
||||
history.Clear();
|
||||
positionIndex = 0;
|
||||
}
|
||||
Reference in new issue
Block a user