Skip to content

Commit

Permalink
simplify lmr condition
Browse files Browse the repository at this point in the history
Bench: 1394597
  • Loading branch information
Nonlinear2 committed Sep 10, 2024
1 parent 2680c9c commit e3561f3
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 @@ -1160,7 +1160,7 @@ Value Search::Worker::search(
r -= ss->statScore / 10898;

// Step 17. Late moves reduction / extension (LMR, ~117 Elo)
if (depth >= 2 && moveCount > 1 + (rootNode && depth < 10))
if (depth >= 2 && moveCount > 1)
{
// In general we want to cap the LMR depth search at newDepth, but when
// reduction is negative, we allow this move a limited search extension
Expand Down

0 comments on commit e3561f3

Please sign in to comment.