mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Small cleanups.
closes https://github.com/official-stockfish/Stockfish/pull/2532 Bench: 4869669
This commit is contained in:
@@ -66,7 +66,7 @@ void TranspositionTable::resize(size_t mbSize) {
|
||||
free(mem);
|
||||
|
||||
clusterCount = mbSize * 1024 * 1024 / sizeof(Cluster);
|
||||
table = static_cast<Cluster*>(aligned_ttmem_alloc(clusterCount * sizeof(Cluster), &mem));
|
||||
table = static_cast<Cluster*>(aligned_ttmem_alloc(clusterCount * sizeof(Cluster), mem));
|
||||
if (!mem)
|
||||
{
|
||||
std::cerr << "Failed to allocate " << mbSize
|
||||
|
||||
Reference in New Issue
Block a user