Skip to content
Permalink
Browse files

softer try : +2 if pvhit && bestvalue < alpha

  • Loading branch information...
MJZ1977 committed Jan 10, 2019
1 parent 039cbca commit 9e33c476f4d50325532f93288ad2e4ce0a36dafc
Showing with 3 additions and 5 deletions.
  1. +3 −5 src/search.cpp
@@ -931,11 +931,9 @@ namespace {
movedPiece = pos.moved_piece(move);
givesCheck = gives_check(pos, move);

if (pvHit && bestValue < alpha)
moveCountPruning = false;
else
moveCountPruning = depth < 16 * ONE_PLY
&& moveCount >= FutilityMoveCounts[improving][depth / ONE_PLY];
moveCountPruning = depth < 16 * ONE_PLY
&& moveCount >= FutilityMoveCounts[improving][depth / ONE_PLY]
+ (pvHit && bestValue < alpha)? 2 : 0;

// Step 13. Extensions (~70 Elo)

0 comments on commit 9e33c47

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