From bd600a7975c4fb48e1f9b5f74160202bf17aad61 Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Thu, 20 Jul 2023 14:02:52 +0300 Subject: [PATCH] Update search.cpp --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 04c4a076e4f..ebbfd46eef2 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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; }