From 9b86aaa0a147177e5a9522335078c3c24e5f4f4d Mon Sep 17 00:00:00 2001 From: rektdie Date: Mon, 8 Sep 2025 01:02:49 +0200 Subject: [PATCH 1/2] diff lmp formula | bench 6480665 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 505edcc..d19ee45 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -463,7 +463,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC // that are late in the list if (!isPV && !board.InCheck() && currMove.IsQuiet() && notMated) { - int lmpThreshold = 7 + 4 * depth; + int lmpThreshold = 7 + depth * depth; if (moveSeen >= lmpThreshold) { continue; -- 2.47.3 From a3d505aec4923b8ebc9bb7824dc52e803c902cd4 Mon Sep 17 00:00:00 2001 From: rektdie Date: Mon, 8 Sep 2025 12:50:54 +0200 Subject: [PATCH 2/2] changed lmp conditions | bench 6293651 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index d19ee45..f0124de 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -461,7 +461,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC // Late move pruning // If we are near a leaf node we prune moves // that are late in the list - if (!isPV && !board.InCheck() && currMove.IsQuiet() && notMated) { + if (currMove.IsQuiet() && notMated) { int lmpThreshold = 7 + depth * depth; -- 2.47.3