reverted lmp formula | bench 2734093

This commit is contained in:
rektdie committed 2025-07-20 04:45:49 +02:00
1 parent 43c59f29f9
commit 1832d460c5
1 file changed
+2 -3
+2 -3
View File
@@ -404,11 +404,10 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
// If we are near a leaf node we prune moves
// that are late in the list
if (!isPV && !board.InCheck() && currMove.IsQuiet() && notMated) {
int lmpBase = 4;
int lmpBase = 7;
int lmpMultiplier = 3;
int lmpThreshold = (lmpBase + lmpMultiplier * depth * depth);
int lmpThreshold = lmpBase + 4 * depth;
if (moveSeen >= lmpThreshold) {
continue;