Skip to content

Commit e271059

Browse files
cj5716Disservin
authored andcommitted
Make repeated bench runs identical
fixes #5376 closes #5377 No functional changes
1 parent 4151c06 commit e271059

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tt.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ void TranspositionTable::resize(size_t mbSize, ThreadPool& threads) {
9494
// Initializes the entire transposition table to zero,
9595
// in a multi-threaded way.
9696
void TranspositionTable::clear(ThreadPool& threads) {
97+
generation8 = 0;
9798
const size_t threadCount = threads.num_threads();
9899

99100
for (size_t i = 0; i < threadCount; ++i)

0 commit comments

Comments
 (0)