Skip to content

Commit

Permalink
Don't print fail-high or fail-lows in MultiPV mode
Browse files Browse the repository at this point in the history
Supposed to give a better user experience when using MultiPV mode

No functional change

Resolves #217
  • Loading branch information
zamar committed Jan 18, 2015
1 parent c73f33f commit 7f51610
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/search.cpp
Expand Up @@ -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;

Expand Down

0 comments on commit 7f51610

Please sign in to comment.