Skip to content
Permalink
Browse files

Update search.cpp

  • Loading branch information...
VoyagerOne committed Oct 9, 2019
1 parent 80d59ee commit db8fef6449637c7045106193f7d4820c83a77140
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/search.cpp
@@ -1036,7 +1036,7 @@ namespace {
int lmrDepth = std::max(newDepth - reduction(improving, depth, moveCount), 0);

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

0 comments on commit db8fef6

Please sign in to comment.
You can’t perform that action at this time.