Merge pull request #95 from rektdie/pv-less-lmr

reduce less if pv node | bench 9411909
This commit was merged in pull request #95.
This commit is contained in:
rektdie authored and GitHub committed 2025-08-30 01:48:42 +02:00
commit 8d552cefd6
1 file changed
+3
+3
View File
@@ -156,6 +156,9 @@ static int GetReductions(Board &board, Move &move, int depth, int moveSeen, int
if (cutnode)
reduction += 2;
if constexpr (isPV)
reduction--;
// History LMR
int historyReduction = ctx->history[board.sideToMove][move.MoveFrom()][move.MoveTo()];