Skip to content

Commit acdda38

Browse files
Vizvezdenecsnicolet
authored andcommitted
Tweak of SEE pruning condition
passed STC http://tests.stockfishchess.org/tests/view/5d386bda0ebc5925cf0ef49a LLR: 2.95 (-2.94,2.94) [0.50,4.50] Total: 56874 W: 12820 L: 12373 D: 31681 passed LTC http://tests.stockfishchess.org/tests/view/5d38873a0ebc5925cf0ef86e LLR: 2.95 (-2.94,2.94) [0.00,3.50] Total: 43512 W: 7547 L: 7247 D: 28718 Additional thanks to @locutus2 , @miguel-l and @xoto10 for fruitful discussion. There may be some more elo there since this tweak was the first one and numbers are more or less arbitrary. Closes #2256 Bench 3935523
1 parent 33c3a04 commit acdda38

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
@@ -1041,7 +1041,7 @@ namespace {
10411041
continue;
10421042

10431043
// Prune moves with negative SEE (~10 Elo)
1044-
if (!pos.see_ge(move, Value(-29 * lmrDepth * lmrDepth)))
1044+
if (!pos.see_ge(move, Value(-(31 - std::min(lmrDepth, 18)) * lmrDepth * lmrDepth)))
10451045
continue;
10461046
}
10471047
else if ( (!givesCheck || !extension)

0 commit comments

Comments
 (0)