Skip to content

Commit

Permalink
Small fix to moveCountPruning
Browse files Browse the repository at this point in the history
  • Loading branch information
gab8192 authored Oct 6, 2023
1 parent afe7f4d commit 2a783b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,8 @@ namespace {
&& bestValue > VALUE_TB_LOSS_IN_MAX_PLY)
{
// Skip quiet moves if movecount exceeds our FutilityMoveCount threshold (~8 Elo)
moveCountPruning = moveCount >= futility_move_count(improving, depth);
if (!moveCountPruning)
moveCountPruning = moveCount >= futility_move_count(improving, depth);

// Reduced depth of the next LMR search
int lmrDepth = newDepth - r;
Expand Down

0 comments on commit 2a783b4

Please sign in to comment.