encapsualted position index and array | bench 1857933

This commit is contained in:
rektdie committed 2025-04-12 20:39:00 +02:00
1 parent b669fa329e
commit 3225b9c665
8 files changed
+19 -28

No files matched your search

-3
View File
@@ -125,7 +125,6 @@ void UCILoop(Board &board) {
// parse UCI "position" command
if (input.find("position") != std::string::npos) {
ParsePosition(board, input);
positionIndex = 0;
continue;
}
@@ -139,8 +138,6 @@ void UCILoop(Board &board) {
ctx.killerMoves = {};
ctx.history.Clear();
positionIndex = 0;
continue;
}