1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 00:33: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:
Marco Costalba 2013-07-13 07:43:50 +02:00
parent 128e097d03
commit 2a0bbb9faa

View file

@ -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