From: ianfab Date: Mon, 13 Aug 2018 19:41:05 +0000 (+0200) Subject: Tweak probcut margin for extinction variants X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=d95a42f7033132bd422f576f8b78df751c95fdc8;p=fairystockfish.git Tweak probcut margin for extinction variants extinction STC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 411 W: 238 L: 138 D: 35 http://35.161.250.236:6543/tests/view/5b71df356e23db0fbab0dca3 --- diff --git a/src/search.cpp b/src/search.cpp index 1e6d8e3..61e414b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -801,7 +801,7 @@ namespace { && depth >= 5 * ONE_PLY && abs(beta) < VALUE_MATE_IN_MAX_PLY) { - Value rbeta = std::min(beta + 216 - 48 * improving, VALUE_INFINITE); + Value rbeta = std::min(beta + 216 * (1 + (pos.extinction_value() != VALUE_NONE)) - 48 * improving, VALUE_INFINITE); MovePicker mp(pos, ttMove, rbeta - ss->staticEval, &thisThread->captureHistory); int probCutCount = 0;