From 07abe2529e8fffdf6766951d9bda8373d0a69eca Mon Sep 17 00:00:00 2001 From: rektdie Date: Mon, 8 Sep 2025 18:06:37 +0200 Subject: [PATCH] lmp less when improving | bench 5654977 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 574e853..f403764 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 (currMove.IsQuiet() && notMated) { - int lmpThreshold = 7 + depth * depth; + int lmpThreshold = (7 + 2 * improving) + depth * depth; if (moveSeen >= lmpThreshold) { continue;