Skip to content

Commit 3cebc77

Browse files
Prevent SEE from pruning quiet blockers when in check (#1047)
STC Elo | 3.10 +- 2.16 (95%) SPRT | 8.0+0.08s Threads=1 Hash=16MB LLR | 2.97 (-2.25, 2.89) [0.00, 3.00] Games | N: 26710 W: 6846 L: 6608 D: 13256 Penta | [87, 3112, 6732, 3324, 100] https://recklesschess.space/test/14984/ LTC Elo | 1.61 +- 1.29 (95%) SPRT | 40.0+0.40s Threads=1 Hash=64MB LLR | 2.92 (-2.25, 2.89) [0.00, 3.00] Games | N: 63616 W: 15869 L: 15575 D: 32172 Penta | [27, 7047, 17377, 7319, 38] https://recklesschess.space/test/14986/ Bench: 2756239
1 parent 270de3f commit 3cebc77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/search.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ fn search<NODE: NodeType>(
781781
(-7 * depth * depth - 31 * depth - 32 * history / 1024 + 16).min(0)
782782
};
783783

784-
if !td.board.see(mv, threshold) {
784+
if (!in_check || !is_quiet) && !td.board.see(mv, threshold) {
785785
continue;
786786
}
787787
}

0 commit comments

Comments
 (0)