Skip to content

Commit 0dabf4f

Browse files
FauziAkramDisservin
authored andcommitted
Removing the conditional bonus calculation
The new value is just a guessed value. Passed STC: https://tests.stockfishchess.org/tests/view/67d5ee09517865b4a2dfd2df LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 52128 W: 13516 L: 13312 D: 25300 Ptnml(0-2): 157, 6044, 13451, 6262, 150 Passed LTC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 42384 W: 10855 L: 10657 D: 20872 Ptnml(0-2): 19, 4554, 11852, 4744, 23 https://tests.stockfishchess.org/tests/view/67d5f9d3517865b4a2dfd2ef closes #5933 Bench: 2030154
1 parent 43d8ccf commit 0dabf4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ Value Search::Worker::search(
12791279
value = -search<NonPV>(pos, ss + 1, -(alpha + 1), -alpha, newDepth, !cutNode);
12801280

12811281
// Post LMR continuation history updates
1282-
int bonus = (value >= beta) * 1800;
1282+
int bonus = 1600;
12831283
update_continuation_histories(ss, movedPiece, move.to_sq(), bonus);
12841284
}
12851285
else if (value > alpha && value < bestValue + 9)

0 commit comments

Comments
 (0)