Skip to content

Commit b15e148

Browse files
zamarmcostalba
authored andcommitted
Smoother transition for LMR
Passed both short TC: LLR: 2.95 (-2.94,2.94) [-1.50,4.50] Total: 12376 W: 2596 L: 2454 D: 7326 And long TC: LLR: 2.97 (-2.94,2.94) [0.00,6.00] Total: 14798 W: 2584 L: 2409 D: 9805 bench: 8279065
1 parent bb83a41 commit b15e148

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/search.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ void Search::init() {
143143

144144
if (Reductions[0][0][hd][mc] > 2 * ONE_PLY)
145145
Reductions[0][0][hd][mc] += ONE_PLY;
146+
147+
else if (Reductions[0][0][hd][mc] > 1 * ONE_PLY)
148+
Reductions[0][0][hd][mc] += ONE_PLY / 2;
146149
}
147150

148151
// Init futility margins array

0 commit comments

Comments
 (0)