Lmp #54

Merged
rektdie merged 6 commits from LMP into main 2025-04-14 07:35:33 +02:00
Showing only changes of commit ea8c2959c2 - Show all commits
+1 -1
View File
@@ -277,7 +277,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
// If we are near a leaf node we prune moves // If we are near a leaf node we prune moves
// that are late in the list // that are late in the list
if (!isPV && !board.InCheck() && currMove.IsQuiet() && results.score > (-MATE_SCORE + MAX_PLY)) { if (!isPV && !board.InCheck() && currMove.IsQuiet() && results.score > (-MATE_SCORE + MAX_PLY)) {
int lmpBase = 6; int lmpBase = 4;
int lmpThreshold = lmpBase + 4 * depth; int lmpThreshold = lmpBase + 4 * depth;