Skip to content

Commit

Permalink
Update search.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
FauziAkram authored Jul 20, 2023
1 parent aa00f55 commit bd600a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ void Thread::search() {
}

mainThread->iterValue[iterIdx] = bestValue;
// Cycle the value of iterIdx among 0, 1, 2, and 3 by keeping only the last bit.
// Cycle the value of iterIdx among 0, 1, 2, and 3 by keeping only the last two bits.
iterIdx = (iterIdx + 1) & 3;
}

Expand Down

0 comments on commit bd600a7

Please sign in to comment.