From 1832d460c5d85a908864a8a37d16c64a97f41c23 Mon Sep 17 00:00:00 2001 From: rektdie Date: Sun, 20 Jul 2025 03:52:23 +0200 Subject: [PATCH] reverted lmp formula | bench 2734093 --- source/search.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/search.cpp b/source/search.cpp index 01a5d8e..0b29a51 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -404,11 +404,10 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC // If we are near a leaf node we prune moves // that are late in the list if (!isPV && !board.InCheck() && currMove.IsQuiet() && notMated) { - int lmpBase = 4; + int lmpBase = 7; - int lmpMultiplier = 3; - int lmpThreshold = (lmpBase + lmpMultiplier * depth * depth); + int lmpThreshold = lmpBase + 4 * depth; if (moveSeen >= lmpThreshold) { continue;