1
0
Fork 0
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:
Joona Kiiski 2015-01-17 23:01:10 +00:00
parent c73f33f37e
commit 7f51610103

View file

@ -365,7 +365,8 @@ namespace {
// When failing high/low give some update (without cluttering
// the UI) before a re-search.
if ( (bestValue <= alpha || bestValue >= beta)
if ( multiPV == 1
&& (bestValue <= alpha || bestValue >= beta)
&& Time::now() - SearchTime > 3000)
sync_cout << uci_pv(pos, depth, alpha, beta) << sync_endl;