Skip to content

Commit cb62e5b

Browse files
committed
Maybe since 'Introduce Secondary TT Aging official-stockfish#6113'
this -4 offset is not needed anymore (-4 -replaced -2 in official-stockfish#575). bench: 2304390
1 parent 5337edf commit cb62e5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void TTEntry::save(
9898
move16 = m;
9999

100100
// Overwrite less valuable entries (cheapest checks first)
101-
if (b == BOUND_EXACT || uint16_t(k) != key16 || d - DEPTH_ENTRY_OFFSET + 2 * pv > depth8 - 4
101+
if (b == BOUND_EXACT || uint16_t(k) != key16 || d - DEPTH_ENTRY_OFFSET + 2 * pv > depth8
102102
|| relative_age(generation8))
103103
{
104104
assert(d > DEPTH_ENTRY_OFFSET);

0 commit comments

Comments
 (0)