X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.cpp;h=04673901545381a0f00956ed571a10d7023eee66;hp=24e94c8008bd691c4045719f065359dd1ff3ee5a;hb=41641e3b1eea0038ab6984;hpb=2f5aaf7de670b489e6a9635ae22713ed48e9f156 diff --git a/src/tt.cpp b/src/tt.cpp index 24e94c80..04673901 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -26,11 +26,11 @@ TranspositionTable TT; // Our global transposition table -/// TranspositionTable::set_size() sets the size of the transposition table, +/// TranspositionTable::resize() sets the size of the transposition table, /// measured in megabytes. Transposition table consists of a power of 2 number /// of clusters and each cluster consists of ClusterSize number of TTEntry. -void TranspositionTable::set_size(uint64_t mbSize) { +void TranspositionTable::resize(uint64_t mbSize) { assert(msb((mbSize << 20) / sizeof(TTEntry)) < 32);