Skip to content

Commit b73ae56

Browse files
lucasartzamar
authored andcommitted
Tune null search reduction
STC LLR: 2.96 (-2.94,2.94) [-0.50,4.50] Total: 107289 W: 21851 L: 21325 D: 64113 LTC LLR: 2.96 (-2.94,2.94) [0.00,5.00] Total: 83837 W: 14378 L: 13916 D: 55543 Bench: 7604776 Resolves #194
1 parent 3fda064 commit b73ae56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ namespace {
650650
assert(eval - beta >= 0);
651651

652652
// Null move dynamic reduction based on depth and value
653-
Depth R = (3 + depth / 4 + std::min((eval - beta) / PawnValueMg, 3)) * ONE_PLY;
653+
Depth R = ((823 + 67 * depth) / 256 + std::min((eval - beta) / PawnValueMg, 3)) * ONE_PLY;
654654

655655
pos.do_null_move(st);
656656
(ss+1)->skipEarlyPruning = true;

0 commit comments

Comments
 (0)