Lmrdepth fp #125

Merged
rektdie merged 2 commits from lmrdepth-fp into main 2025-10-29 07:51:53 +01:00
Showing only changes of commit 6ed9e6f0c8 - Show all commits
+1 -1
View File
@@ -571,7 +571,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
historyScore += ctx->conthist.GetNPly(board, currMove, ctx, ply, 2); historyScore += ctx->conthist.GetNPly(board, currMove, ctx, ply, 2);
} }
int margin = fpMargin * (depth + improving) + historyScore / 32; int margin = fpMargin * (lmrDepth + improving) + historyScore / 32;
if (!isPV && ply && currMove.IsQuiet() if (!isPV && ply && currMove.IsQuiet()
&& lmrDepth <= 5 && staticEval + margin < alpha && notMated) { && lmrDepth <= 5 && staticEval + margin < alpha && notMated) {