mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Fix printing of PV info: take 2
Now last PV line is printed twice, fix that. No functional change.
This commit is contained in:
parent
128e097d03
commit
2a0bbb9faa
1 changed files with 4 additions and 2 deletions
|
@ -367,8 +367,10 @@ namespace {
|
|||
if (Signals.stop)
|
||||
return;
|
||||
|
||||
// Give some update (without cluttering the UI) before to research
|
||||
if (Time::now() - SearchTime > 3000)
|
||||
// When failing high/low give some update (without cluttering
|
||||
// the UI) before to research.
|
||||
if ( (bestValue <= alpha || bestValue >= beta)
|
||||
&& Time::now() - SearchTime > 3000)
|
||||
sync_cout << uci_pv(pos, depth, alpha, beta) << sync_endl;
|
||||
|
||||
// In case of failing low/high increase aspiration window and
|
||||
|
|
Loading…
Add table
Reference in a new issue