From 9b86aaa0a147177e5a9522335078c3c24e5f4f4d Mon Sep 17 00:00:00 2001 From: rektdie Date: Mon, 8 Sep 2025 01:02:49 +0200 Subject: [PATCH] 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;