mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 14:27:45 +00:00
Fix a bug of outputting multiple lines of bestmove
This commit is contained in:
committed by
Stéphane Nicolet
parent
29c166a072
commit
3b7b632aa5
+1
-1
@@ -293,7 +293,7 @@ void MainThread::search() {
|
|||||||
previousScore = static_cast<Value>(mi.score);
|
previousScore = static_cast<Value>(mi.score);
|
||||||
|
|
||||||
// Send again PV info if we have a new best thread
|
// Send again PV info if we have a new best thread
|
||||||
if (mi.rank == Cluster::rank()) {
|
if (Cluster::is_root()) {
|
||||||
if (bestThread != this)
|
if (bestThread != this)
|
||||||
sync_cout << UCI::pv(bestThread->rootPos, bestThread->completedDepth, -VALUE_INFINITE, VALUE_INFINITE) << sync_endl;
|
sync_cout << UCI::pv(bestThread->rootPos, bestThread->completedDepth, -VALUE_INFINITE, VALUE_INFINITE) << sync_endl;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user