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:
1 file changed
+3
@@ -156,6 +156,9 @@ static int GetReductions(Board &board, Move &move, int depth, int moveSeen, int
|
|||||||
if (cutnode)
|
if (cutnode)
|
||||||
reduction += 2;
|
reduction += 2;
|
||||||
|
|
||||||
|
if constexpr (isPV)
|
||||||
|
reduction--;
|
||||||
|
|
||||||
// History LMR
|
// History LMR
|
||||||
int historyReduction = ctx->history[board.sideToMove][move.MoveFrom()][move.MoveTo()];
|
int historyReduction = ctx->history[board.sideToMove][move.MoveFrom()][move.MoveTo()];
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user