From: Marco Costalba Date: Fri, 12 Jul 2013 21:42:42 +0000 (+0200) Subject: Fix printing of PV info X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=128e097d03819ace4e7cd23a54e893b499410382 Fix printing of PV info It was erroneusly skipped after the aspiration window rework. Reported by Eelco. No functional change. --- diff --git a/src/search.cpp b/src/search.cpp index 23629e6d..7fcf4bcb 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -367,6 +367,10 @@ namespace { if (Signals.stop) return; + // Give some update (without cluttering the UI) before to research + if (Time::now() - SearchTime > 3000) + sync_cout << uci_pv(pos, depth, alpha, beta) << sync_endl; + // In case of failing low/high increase aspiration window and // research, otherwise exit the loop. if (bestValue <= alpha) @@ -385,10 +389,6 @@ namespace { delta += delta / 2; assert(alpha >= -VALUE_INFINITE && beta <= VALUE_INFINITE); - - // Give some update (without cluttering the UI) before to research - if (Time::now() - SearchTime > 3000) - sync_cout << uci_pv(pos, depth, alpha, beta) << sync_endl; } // Sort the PV lines searched so far and update the GUI