From: Fabian Fichter Date: Sat, 24 Oct 2020 09:37:10 +0000 (+0200) Subject: Tweak NMP depth for losing chess X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=e84c77ec50fa5412ab06188339aec9f959101ca2;p=fairystockfish.git Tweak NMP depth for losing chess giveaway STC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 1259 W: 523 L: 424 D: 312 http://www.variantfishtest.org:6543/tests/view/5f93432e6e23db221d9e9373 giveaway LTC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 1092 W: 430 L: 337 D: 325 http://www.variantfishtest.org:6543/tests/view/5f93603b6e23db221d9e9384 --- diff --git a/src/search.cpp b/src/search.cpp index 41809c8..37b19c5 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -903,7 +903,7 @@ namespace { assert(eval - beta >= 0); // Null move dynamic reduction based on depth and value - Depth R = (982 - 150 * !pos.checking_permitted() + 85 * depth) / 256 + std::min(int(eval - beta) / 192, 3); + Depth R = (982 - 200 * pos.must_capture() - 150 * !pos.checking_permitted() + 85 * depth) / 256 + std::min(int(eval - beta) / 192, 3); ss->currentMove = MOVE_NULL; ss->continuationHistory = &thisThread->continuationHistory[0][0][NO_PIECE][0];