From: Fabian Fichter Date: Tue, 26 Jan 2021 07:57:47 +0000 (+0100) Subject: Tweak NMP for atomic X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=4162dc68d9257d07d59ba6a32da9e7e06dc51e0e;p=fairystockfish.git Tweak NMP for atomic atomic STC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 1896 W: 747 L: 641 D: 508 http://www.variantfishtest.org:6543/tests/view/600d9fe46e23db077dd66209 atomic LTC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 1793 W: 659 L: 558 D: 576 http://www.variantfishtest.org:6543/tests/view/600f454c6e23db077dd66213 --- diff --git a/src/search.cpp b/src/search.cpp index ed725fe..1573f7c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -943,7 +943,7 @@ namespace { assert(eval - beta >= 0); // Null move dynamic reduction based on depth and value - Depth R = (1015 - 300 * pos.must_capture() - 250 * !pos.checking_permitted() + 85 * depth) / 256 + std::min(int(eval - beta) / (191 + 200 * pos.must_capture()), 3); + Depth R = (1015 - 300 * pos.must_capture() - 250 * !pos.checking_permitted() + 85 * depth) / 256 + std::min(int(eval - beta) / (191 + 200 * pos.must_capture() + 200 * pos.blast_on_capture()), 3); ss->currentMove = MOVE_NULL; ss->continuationHistory = &thisThread->continuationHistory[0][0][NO_PIECE][0];