Lmp formula #100

Merged
rektdie merged 2 commits from lmp-formula into main 2025-09-08 17:51:56 +02:00
Showing only changes of commit 9b86aaa0a1 - Show all commits
+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 (!isPV && !board.InCheck() && currMove.IsQuiet() && notMated) { if (!isPV && !board.InCheck() && currMove.IsQuiet() && notMated) {
int lmpThreshold = 7 + 4 * depth; int lmpThreshold = 7 + depth * depth;
if (moveSeen >= lmpThreshold) { if (moveSeen >= lmpThreshold) {
continue; continue;