Skip to content

Commit 4a2efd5

Browse files
authored
Avoid LMP when in a forced win (#1025)
Matetrack: 100,000 nodes Main: Found 1793, Best 1027 Patch: Found 1804, Best 1042 Net (branch): Found +11, Best +15 1,000,000 nodes Main: Found 3678, Best 2059 Patch: Found 3685, Best 2080 Net (branch): Found +7, Best +21 STC Elo | 2.42 +- 2.41 (95%) SPRT | 8.0+0.08s Threads=1 Hash=16MB LLR | 2.93 (-2.25, 2.89) [-2.75, 0.25] Games | N: 18938 W: 4889 L: 4757 D: 9292 Penta | [54, 1974, 5267, 2134, 40] https://recklesschess.space/test/14779/ LTC (unfinished) Elo | 0.18 +- 1.43 (95%) SPRT | 40.0+0.40s Threads=1 Hash=64MB LLR | 1.85 (-2.25, 2.89) [-2.75, 0.25] Games | N: 45398 W: 11241 L: 11218 D: 22939 Penta | [18, 4486, 13672, 4501, 22] https://recklesschess.space/test/14797/ Bench: 2851948
1 parent ad31e93 commit 4a2efd5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/search.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,7 @@ fn search<NODE: NodeType>(
734734
if !in_check
735735
&& !td.board.is_direct_check(mv)
736736
&& is_quiet
737+
&& !is_win(beta)
737738
&& move_count >= (2697 + 77 * improvement / 16 + 1510 * depth * depth + 70 * history / 1024) / 1024
738739
{
739740
skip_quiets = true;

0 commit comments

Comments
 (0)