Tweak NMP for atomic
authorFabian Fichter <ianfab@users.noreply.github.com>
Tue, 26 Jan 2021 07:57:47 +0000 (08:57 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Tue, 26 Jan 2021 07:57:47 +0000 (08:57 +0100)
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

src/search.cpp

index ed725fe..1573f7c 100644 (file)
@@ -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];