diff --git a/src/search.cpp b/src/search.cpp index 4f4092ff..a9fc1c6d 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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; } }