Lmp #54
+1
-1
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user