X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.cpp;h=04673901545381a0f00956ed571a10d7023eee66;hp=24e94c8008bd691c4045719f065359dd1ff3ee5a;hb=17ffc22279b33ef2015a76461e1e644909d43a10;hpb=40c863d41af5058a02f1de3423a000d801dcb08a 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);