diff --git a/source/search.cpp b/source/search.cpp index f403764..00f38ee 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 + 2 * improving) + depth * depth; + int lmpThreshold = 7 + depth * depth / (2 - improving); if (moveSeen >= lmpThreshold) { continue;