From 0784bd542bf17679febd9d9d87858fd0fd0424f9 Mon Sep 17 00:00:00 2001 From: mstembera Date: Thu, 28 Apr 2016 12:13:32 -0700 Subject: [PATCH] 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 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.2