From 7a521d79326e9afb392f4ec391d68c131db7ba99 Mon Sep 17 00:00:00 2001 From: rektdie Date: Sun, 13 Apr 2025 21:40:50 +0200 Subject: [PATCH] changed LMP formula | bench 1108042 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 90812fb..9aadc7b 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -279,7 +279,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC if (!isPV && !board.InCheck() && currMove.IsQuiet() && results.score > (-MATE_SCORE + MAX_PLY)) { int lmpBase = 3; - int lmpThreshold = lmpBase + depth * depth; + int lmpThreshold = lmpBase + 4 * depth; if (moveSeen >= lmpThreshold) { continue;