]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplified select best thread (#958)
[stockfish] / src / search.cpp
index 4f4092ffe2bcae830f54ba84fc62c42ede9ab094..a9fc1c6d4c80b41aec8c20c4b6b2e7c070760050 100644 (file)
@@ -316,8 +316,7 @@ void MainThread::search() {
           Depth depthDiff = th->completedDepth - bestThread->completedDepth;
           Value scoreDiff = th->rootMoves[0].score - bestThread->rootMoves[0].score;
 
-          if (   (depthDiff > 0 && scoreDiff >= 0)
-              || (scoreDiff > 0 && depthDiff >= 0))
+          if (scoreDiff > 0 && depthDiff >= 0)
               bestThread = th;
       }
   }