Skip to content

Commit

Permalink
Tweak ttCapture reduction
Browse files Browse the repository at this point in the history
More reduction at shallow depth for quiet moves when ttMove is a capture.
  • Loading branch information
TarasVuk authored and PikaCat-OuO committed Oct 2, 2024
1 parent 1425588 commit f9e6c21
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 @@ -1065,7 +1065,7 @@ Value Search::Worker::search(

// Increase reduction if ttMove is a capture but the current move is not a capture (~3 Elo)
if (ttCapture && !capture)
r++;
r += 1 + (depth < 8);

// Increase reduction if next ply has a lot of fail high (~5 Elo)
if ((ss + 1)->cutoffCnt > 3)
Expand Down

0 comments on commit f9e6c21

Please sign in to comment.