mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +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:
parent
c1264e46d0
commit
128e097d03
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue