From 847bc0e80fa78a81b028515da03a90ea4dd40458 Mon Sep 17 00:00:00 2001 From: Stefan Geschwentner Date: Mon, 12 Dec 2016 12:01:16 +0100 Subject: [PATCH] Simplify pruning STC: http://tests.stockfishchess.org/tests/view/5842be140ebc5903140c5619 LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 16014 W: 2839 L: 2710 D: 10465 LTC: http://tests.stockfishchess.org/tests/view/584316a50ebc5903140c5638 LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 182360 W: 22830 L: 22914 D: 136616 Retested at LTC LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 45502 W: 5821 L: 5732 D: 33949 Bench: 4684146 --- src/search.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 57f63653..1ffe1e97 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -936,11 +936,7 @@ moves_loop: // When in check search starts from here } else if (depth < 7 * ONE_PLY && !extension) { - Value v = -Value(399 + 35 * depth / ONE_PLY * depth / ONE_PLY); - - if (PvNode) - v += beta - alpha - 1; - + Value v = -Value(400 - 100 * PvNode + 35 * depth / ONE_PLY * depth / ONE_PLY); if (!pos.see_ge(move, v)) continue; } -- 2.39.2