From 6f91474e45a63537891fa1a063fb880be6857730 Mon Sep 17 00:00:00 2001 From: PGG106 Date: Sun, 20 Oct 2024 20:20:10 +0200 Subject: [PATCH] Remove pv node guard from lmp (#477) failed STC: Elo | -2.05 +- 2.30 (95%) SPRT | 8.0+0.08s Threads=1 Hash=16MB LLR | -2.30 (-2.25, 2.89) [-3.00, 1.00] Games | N: 23570 W: 5593 L: 5732 D: 12245 Penta | [86, 2911, 5920, 2792, 76] passed LTC: Elo | 0.38 +- 1.50 (95%) SPRT | 40.0+0.40s Threads=1 Hash=64MB LLR | 2.92 (-2.25, 2.89) [-3.00, 1.00] Games | N: 49844 W: 11468 L: 11414 D: 26962 Penta | [24, 5879, 13073, 5911, 35] Bench: 6899697 --- src/search.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index d16fdd8d..c217a5de 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -601,8 +601,7 @@ int Negamax(int alpha, int beta, int depth, const bool cutNode, ThreadData* td, if (!skipQuiets) { // Movecount pruning: if we searched enough moves and we are not in check we skip the rest - if (!pvNode - && totalMoves > lmp_margin[std::min(depth, 63)][improving]) { + if (totalMoves > lmp_margin[std::min(depth, 63)][improving]) { skipQuiets = true; }