Skip to content

Commit 38faedb

Browse files
committed
Remove unneeded branch
1 parent efd4ca2 commit 38faedb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tt.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ TTEntry* TranspositionTable::probe(const Key key, bool& found) const {
9494
for (int i = 0; i < ClusterSize; ++i)
9595
if (!tte[i].key16 || tte[i].key16 == key16)
9696
{
97-
if ((tte[i].genBound8 & 0xFC) != generation8 && tte[i].key16)
98-
tte[i].genBound8 = uint8_t(generation8 | tte[i].bound()); // Refresh
97+
tte[i].genBound8 = uint8_t(generation8 | tte[i].bound()); // Refresh
9998

10099
return found = (bool)tte[i].key16, &tte[i];
101100
}

0 commit comments

Comments
 (0)