mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 06:17:49 +00:00
Fix printing of PV info
It was erroneusly skipped after the aspiration window rework. Reported by Eelco. No functional change.
This commit is contained in:
+4
-4
@@ -367,6 +367,10 @@ namespace {
|
|||||||
if (Signals.stop)
|
if (Signals.stop)
|
||||||
return;
|
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
|
// In case of failing low/high increase aspiration window and
|
||||||
// research, otherwise exit the loop.
|
// research, otherwise exit the loop.
|
||||||
if (bestValue <= alpha)
|
if (bestValue <= alpha)
|
||||||
@@ -385,10 +389,6 @@ namespace {
|
|||||||
delta += delta / 2;
|
delta += delta / 2;
|
||||||
|
|
||||||
assert(alpha >= -VALUE_INFINITE && beta <= VALUE_INFINITE);
|
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
|
// Sort the PV lines searched so far and update the GUI
|
||||||
|
|||||||
Reference in New Issue
Block a user