mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 01:03: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)
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue