Skip to content

Commit 8985c21

Browse files
unaiicvondele
authored andcommitted
Simplify away late irreversible move extension
Late irreversible move extension seems to be useless now. STC https://tests.stockfishchess.org/tests/view/5fe75c5c3932f79192d398ca LLR: 2.93 (-2.94,2.94) {-1.25,0.25} Total: 196192 W: 18111 L: 18278 D: 159803 Ptnml(0-2): 681, 14097, 68652, 14040, 626 LTC https://tests.stockfishchess.org/tests/view/5fe875e23932f79192d39952 LLR: 2.96 (-2.94,2.94) {-0.75,0.25} Total: 28080 W: 1105 L: 1053 D: 25922 Ptnml(0-2): 13, 904, 12158, 948, 17 closes #3279 bench: 4144640
1 parent c57c71b commit 8985c21

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/search.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,12 +1142,6 @@ namespace {
11421142
&& pos.non_pawn_material() <= 2 * RookValueMg)
11431143
extension = 1;
11441144

1145-
// Late irreversible move extension
1146-
if ( move == ttMove
1147-
&& pos.rule50_count() > 80
1148-
&& (captureOrPromotion || type_of(movedPiece) == PAWN))
1149-
extension = 2;
1150-
11511145
// Add extension to new depth
11521146
newDepth += extension;
11531147

0 commit comments

Comments
 (0)