mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Don't print fail-high or fail-lows in MultiPV mode
Supposed to give a better user experience when using MultiPV mode No functional change Resolves #217
This commit is contained in:
parent
c73f33f37e
commit
7f51610103
1 changed files with 2 additions and 1 deletions
|
@ -365,7 +365,8 @@ namespace {
|
||||||
|
|
||||||
// When failing high/low give some update (without cluttering
|
// When failing high/low give some update (without cluttering
|
||||||
// the UI) before a re-search.
|
// the UI) before a re-search.
|
||||||
if ( (bestValue <= alpha || bestValue >= beta)
|
if ( multiPV == 1
|
||||||
|
&& (bestValue <= alpha || bestValue >= beta)
|
||||||
&& Time::now() - SearchTime > 3000)
|
&& Time::now() - SearchTime > 3000)
|
||||||
sync_cout << uci_pv(pos, depth, alpha, beta) << sync_endl;
|
sync_cout << uci_pv(pos, depth, alpha, beta) << sync_endl;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue