From 236e2ca80db9368eb755088a75be4289686a5c99 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Thu, 20 Sep 2018 21:42:11 +0200 Subject: [PATCH] Skip SEE pruning of quiet moves for antichess variants STC giveaway LLR: 2.94 (-2.94,2.94) [0.00,10.00] Total: 108 W: 86 L: 7 D: 15 http://35.161.250.236:6543/tests/view/5ba3f8816e23db0fbab0dda0 STC losers LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 285 W: 180 L: 82 D: 23 http://35.161.250.236:6543/tests/view/5ba3fc4f6e23db0fbab0dda8 --- src/search.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index d2b8255..cb09d15 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -966,7 +966,7 @@ moves_loop: // When in check, search starts from here continue; // Prune moves with negative SEE (~10 Elo) - if (!pos.see_ge(move, Value(-29 * lmrDepth * lmrDepth))) + if (!pos.must_capture() && !pos.see_ge(move, Value(-29 * lmrDepth * lmrDepth))) continue; } else if ( !extension // (~20 Elo) -- 1.7.0.4