Skip to content

Commit 8a74c08

Browse files
committed
Remove noLMRExtension flag
This simplification patch removes the noLMRExtension flag. It was introduced in June (see following link for that commit), but does not seem to be necessary anymore. Link: e1f181e STC: LLR: 2.94 (-2.94,2.94) <-2.50,0.50> Total: 21200 W: 5369 L: 5228 D: 10603 Ptnml(0-2): 67, 2355, 5616, 2494, 68 https://tests.stockfishchess.org/tests/view/616c03d299b580bf37797dcb LTC: LLR: 2.94 (-2.94,2.94) <-2.50,0.50> Total: 37536 W: 9387 L: 9278 D: 18871 Ptnml(0-2): 23, 3988, 10643, 4085, 29 https://tests.stockfishchess.org/tests/view/616c10f499b580bf37797ddd closes #3743 Bench: 4792969
1 parent 6847be2 commit 8a74c08

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/search.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ namespace {
588588
Value bestValue, value, ttValue, eval, maxValue, probCutBeta;
589589
bool givesCheck, improving, didLMR, priorCapture;
590590
bool captureOrPromotion, doFullDepthSearch, moveCountPruning,
591-
ttCapture, singularQuietLMR, noLMRExtension;
591+
ttCapture, singularQuietLMR;
592592
Piece movedPiece;
593593
int moveCount, captureCount, quietCount, bestMoveCount, improvement;
594594

@@ -984,7 +984,7 @@ namespace {
984984
ss->ply);
985985

986986
value = bestValue;
987-
singularQuietLMR = moveCountPruning = noLMRExtension = false;
987+
singularQuietLMR = moveCountPruning = false;
988988

989989
// Indicate PvNodes that will probably fail low if the node was searched
990990
// at a depth equal or greater than the current depth, and the result of this search was a fail low.
@@ -1108,10 +1108,7 @@ namespace {
11081108
if ( !PvNode
11091109
&& value < singularBeta - 75
11101110
&& ss->doubleExtensions <= 6)
1111-
{
11121111
extension = 2;
1113-
noLMRExtension = true;
1114-
}
11151112
}
11161113

11171114
// Multi-cut pruning
@@ -1221,7 +1218,6 @@ namespace {
12211218
// are really negative and movecount is low, we allow this move to be searched
12221219
// deeper than the first move (this may lead to hidden double extensions).
12231220
int deeper = r >= -1 ? 0
1224-
: noLMRExtension ? 0
12251221
: moveCount <= 3 && r <= -3 ? 2
12261222
: moveCount <= 5 ? 1
12271223
: PvNode && depth > 6 ? 1

0 commit comments

Comments
 (0)