Merge pull request #101 from rektdie/lmp-improving

Lmp improving bench 6535365
This commit was merged in pull request #101.
This commit is contained in:
rektdie authored and GitHub committed 2025-09-08 23:14:24 +02:00
commit 4123ab731f
1 file changed
+1 -1
+1 -1
View File
@@ -463,7 +463,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
// that are late in the list // that are late in the list
if (currMove.IsQuiet() && notMated) { if (currMove.IsQuiet() && notMated) {
int lmpThreshold = 7 + depth * depth; int lmpThreshold = 7 + depth * depth * (1 + improving);
if (moveSeen >= lmpThreshold) { if (moveSeen >= lmpThreshold) {
continue; continue;