more conservative LMP | bench 1234590
This commit is contained in:
1 parent
2eb8c30e54
commit
1239a77f95
1 file changed
+1
-1
+1
-1
@@ -276,7 +276,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
||||
// Late move pruning
|
||||
// If we are near a leaf node we prune moves
|
||||
// that are late in the list
|
||||
if (!isPV && ply && currMove.IsQuiet() && results.score > (-MATE_SCORE + MAX_PLY)) {
|
||||
if (!isPV && !board.InCheck() && currMove.IsQuiet() && results.score > (-MATE_SCORE + MAX_PLY)) {
|
||||
int lmpBase = 3;
|
||||
|
||||
int lmpThreshold = lmpBase + depth * depth;
|
||||
|
||||
Reference in new issue
Block a user