From 43c59f29f912bddeb170f37585889101afb6edd7 Mon Sep 17 00:00:00 2001 From: rektdie Date: Sun, 20 Jul 2025 03:46:41 +0200 Subject: [PATCH] diff lmp formula | bench 2941128 --- source/search.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index ee6e6ce..01a5d8e 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -406,8 +406,9 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC if (!isPV && !board.InCheck() && currMove.IsQuiet() && notMated) { int lmpBase = 4; + int lmpMultiplier = 3; - int lmpThreshold = (lmpBase + lmpMultiplier * (depth - 1) * (depth - 1)); + int lmpThreshold = (lmpBase + lmpMultiplier * depth * depth); if (moveSeen >= lmpThreshold) { continue;