resetting positionIndex | bench 1143648
This commit is contained in:
1 parent
d2b973b869
commit
4a8f8e1ee7
1 file changed
+4
@@ -107,6 +107,8 @@ void UCILoop(Board &board) {
|
||||
// parse UCI "position" command
|
||||
if (input.find("position") != std::string::npos) {
|
||||
ParsePosition(board, input);
|
||||
positionIndex = 0;
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -118,6 +120,8 @@ void UCILoop(Board &board) {
|
||||
TT.Clear();
|
||||
std::memset(killerMoves, 0, sizeof(killerMoves));
|
||||
std::memset(historyMoves, 0, sizeof(historyMoves));
|
||||
positionIndex = 0;
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user