diff lmp formula | bench 2941128

This commit is contained in:
rektdie committed 2025-07-20 04:45:49 +02:00
1 parent 20c636a3b4
commit 43c59f29f9
1 file changed
+2 -1
+2 -1
View File
@@ -406,8 +406,9 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
if (!isPV && !board.InCheck() && currMove.IsQuiet() && notMated) { if (!isPV && !board.InCheck() && currMove.IsQuiet() && notMated) {
int lmpBase = 4; int lmpBase = 4;
int lmpMultiplier = 3; int lmpMultiplier = 3;
int lmpThreshold = (lmpBase + lmpMultiplier * (depth - 1) * (depth - 1)); int lmpThreshold = (lmpBase + lmpMultiplier * depth * depth);
if (moveSeen >= lmpThreshold) { if (moveSeen >= lmpThreshold) {
continue; continue;