diff --git a/src/search.cpp b/src/search.cpp index b636e7b0..221b57e1 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -293,7 +293,7 @@ void MainThread::search() { previousScore = static_cast(mi.score); // Send again PV info if we have a new best thread - if (mi.rank == Cluster::rank()) { + if (Cluster::is_root()) { if (bestThread != this) sync_cout << UCI::pv(bestThread->rootPos, bestThread->completedDepth, -VALUE_INFINITE, VALUE_INFINITE) << sync_endl;