Skip to content

Commit

Permalink
tviigg.
Browse files Browse the repository at this point in the history
bench 3754077
  • Loading branch information
Vizvezdenec committed Jul 10, 2019
1 parent d9068dd commit bce713f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ namespace {
lmrDepth /= ONE_PLY;

// Countermoves based pruning (~20 Elo)
if ( lmrDepth < 2 + ((ss-1)->statScore > 0 || (ss-1)->moveCount == 1)
if ( lmrDepth < 2 + ((ss-1)->statScore > 0) + ((ss-1)->moveCount == 1)
&& (*contHist[0])[movedPiece][to_sq(move)] < CounterMovePruneThreshold
&& (*contHist[1])[movedPiece][to_sq(move)] < CounterMovePruneThreshold)
continue;
Expand Down

0 comments on commit bce713f

Please sign in to comment.