From 014d5e05b1fe30a2c4a1a1ebd4849e14294948f0 Mon Sep 17 00:00:00 2001 From: rektdie Date: Mon, 8 Sep 2025 21:03:50 +0200 Subject: [PATCH] different formula | bench 6535365 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 00f38ee..6a2099b 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 / (2 - improving); + int lmpThreshold = 7 + depth * depth * (1 + improving); if (moveSeen >= lmpThreshold) { continue;