X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=7cb53fbf32064a53ff69cd97e774c56233dcd32e;hp=97ad9912b6b38e21c890e462f30cca55efbacba5;hb=d2752fdc15f94b2eeb0a91533cc79c100738c2af;hpb=3279655f12ff64603b62a99fe9d7e2c9ea6fb4ef diff --git a/src/search.cpp b/src/search.cpp index 97ad9912..7cb53fbf 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -331,7 +331,7 @@ void Thread::search() { if (idx > 0) { int i = (idx - 1) % 20; - if (((rootDepth / ONE_PLY + rootPos.game_ply() + SkipPhase[i]) / SkipSize[i]) % 2) + if (((rootDepth / ONE_PLY + SkipPhase[i]) / SkipSize[i]) % 2) continue; // Retry with an incremented rootDepth }