From: mstembera Date: Thu, 28 Apr 2016 19:13:32 +0000 (-0700) Subject: Fix a multiPV bug in lazy SMP X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=0784bd542bf17679febd9d9d87858fd0fd0424f9;ds=sidebyside Fix a multiPV bug in lazy SMP Where the helper threads were not doing multiPV at all. Regression tested sprt @ 5+0.05 th 7 LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 73918 W: 11891 L: 11853 D: 50174 bench: 8716243 --- diff --git a/src/search.cpp b/src/search.cpp index 52bb0987..2828ccda 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -507,7 +507,7 @@ void Thread::search() { std::stable_sort(rootMoves.begin(), rootMoves.begin() + PVIdx + 1); if (!mainThread) - break; + continue; if (Signals.stop) sync_cout << "info nodes " << Threads.nodes_searched()