encapsulated killerMoves and changed it to std::array

This commit is contained in:
rektdie committed 2025-04-11 03:59:05 +02:00
1 parent ac7325f295
commit dd6f0b94f5
5 files changed
+9 -12

No files matched your search

+2 -1
View File
@@ -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;