Skip to content

Commit 0010617

Browse files
authored
Avoid incrementing aspiration reduction on decisive fail highs (#1071)
Matetrack: 1,000,000 nodes Main: Found 3607, Best 2072 Patch: Found 3647, Best 2106 Net (branch): Found +40, Best +34 STC Elo | -0.09 +- 0.98 (95%) SPRT | 8.0+0.08s Threads=1 Hash=16MB LLR | 2.98 (-2.25, 2.89) [-2.75, 0.25] Games | N: 112018 W: 28367 L: 28395 D: 55256 Penta | [315, 11821, 31760, 11803, 310] https://recklesschess.space/test/15193/ Bench: 3634130
1 parent fc23e44 commit 0010617

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/search.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,11 @@ pub fn start(td: &mut ThreadData, report: Report, thread_count: usize) {
147147
s if s >= beta => {
148148
alpha = (beta - delta).max(alpha);
149149
beta = (score + delta).min(Score::INFINITE);
150-
reduction += 1;
150+
if !is_decisive(score) {
151+
reduction += 1;
152+
} else {
153+
reduction = reduction.min(1)
154+
}
151155
delta += 60 * delta / 128;
152156
}
153157
_ => {

0 commit comments

Comments
 (0)