From 65303c6b01eb5982556e5a661505d3eebae44f9c Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Fri, 3 Jan 2020 13:39:05 +0100 Subject: [PATCH] Increase probcut margin for CTF variants racingkings STC LLR: -2.95 (-2.94,2.94) [0.00,10.00] Total: 10039 W: 3296 L: 3245 D: 3498 http://www.variantfishtest.org:6543/tests/view/5e0f364e6e23db1ffe4a296c racingkings LTC LLR: 2.98 (-2.94,2.94) [0.00,10.00] Total: 9089 W: 2797 L: 2614 D: 3678 http://www.variantfishtest.org:6543/tests/view/5e11ade16e23db1ffe4a2983 kingofthehill STC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 12632 W: 5423 L: 5158 D: 2051 http://www.variantfishtest.org:6543/tests/view/5e0f36376e23db1ffe4a2969 kingofthehill LTC LLR: -2.97 (-2.94,2.94) [0.00,10.00] Total: 21444 W: 8849 L: 8638 D: 3957 http://www.variantfishtest.org:6543/tests/view/5e11add66e23db1ffe4a2981 --- src/search.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index b3b3e0f..3393e29 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -893,7 +893,7 @@ namespace { && (pos.pieces() ^ pos.pieces(CLOBBER_PIECE)) && abs(beta) < VALUE_MATE_IN_MAX_PLY) { - Value raisedBeta = std::min(beta + 191 * (1 + pos.check_counting() + (pos.extinction_value() != VALUE_NONE)) - 46 * improving, VALUE_INFINITE); + Value raisedBeta = std::min(beta + (191 + 20 * !!pos.capture_the_flag_piece()) * (1 + pos.check_counting() + (pos.extinction_value() != VALUE_NONE)) - 46 * improving, VALUE_INFINITE); MovePicker mp(pos, ttMove, raisedBeta - ss->staticEval, &thisThread->captureHistory); int probCutCount = 0; -- 1.7.0.4