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
+2
-1
@@ -136,9 +136,10 @@ void UCILoop(Board &board) {
|
||||
|
||||
// Clearing
|
||||
TT.Clear();
|
||||
std::memset(SEARCH::killerMoves, 0, sizeof(SEARCH::killerMoves));
|
||||
|
||||
ctx.killerMoves = {};
|
||||
ctx.history.Clear();
|
||||
|
||||
positionIndex = 0;
|
||||
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user