Skip to content

Commit fa24cc2

Browse files
VoyagerOnemcostalba
authored andcommitted
Simplify TT penalty stat (#980)
STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 20251 W: 3692 L: 3570 D: 12989 LTC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 16432 W: 2155 L: 2029 D: 12248 Bench: 5941174
1 parent 5254a60 commit fa24cc2

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
@@ -657,7 +657,7 @@ namespace {
657657
update_cm_stats(ss-1, pos.piece_on(prevSq), prevSq, -stat_bonus(depth + ONE_PLY));
658658
}
659659
// Penalty for a quiet ttMove that fails low
660-
else if (ttValue < alpha && !pos.capture_or_promotion(ttMove))
660+
else if (!pos.capture_or_promotion(ttMove))
661661
{
662662
Value penalty = -stat_bonus(depth + ONE_PLY);
663663
thisThread->history.update(pos.side_to_move(), ttMove, penalty);

0 commit comments

Comments
 (0)