From 8c61bbda54b0ec06cb05b89db4342d890dd21798 Mon Sep 17 00:00:00 2001 From: VoyagerOne Date: Fri, 16 Dec 2016 11:05:34 -0500 Subject: [PATCH] Another simplification for SEE pruning STC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 29310 W: 5225 L: 5118 D: 18967 LTC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 128454 W: 16424 L: 16442 D: 95588 Bench: 4556848 --- src/search.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 1ffe1e97..ec594d20 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -934,12 +934,10 @@ moves_loop: // When in check search starts from here && !pos.see_ge(move, Value(-35 * lmrDepth * lmrDepth))) continue; } - else if (depth < 7 * ONE_PLY && !extension) - { - Value v = -Value(400 - 100 * PvNode + 35 * depth / ONE_PLY * depth / ONE_PLY); - if (!pos.see_ge(move, v)) + else if ( depth < 7 * ONE_PLY + && !extension + && !pos.see_ge(move, -PawnValueEg * (depth / ONE_PLY))) continue; - } } // Speculative prefetch as early as possible -- 2.39.2