Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,11 @@ namespace ironphoenix {
if (lmrEligible) {
reduction = lmrBaseReduction(depth, legalMoves);

// Reduction adjustments go here!
// If the TT move is tactical, reduce competing late quiet
// moves one extra ply. The TT move itself cannot reach this
// path because LMR is only applied to quiet moves here.
if (ttMove && ttMove.isCapture())
++reduction;

reduction = std::clamp(reduction, 0, depth - 2);
}
Expand Down
Loading