mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 16:46:30 +08:00
Fix a bogus assert in tt.cpp
Max hash size is 4096 MB, not 1024 MB, see the corresponding "Hash" UCI parameter in ucioption.cpp No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -58,7 +58,7 @@ TranspositionTable::~TranspositionTable() {
|
|||||||
|
|
||||||
void TranspositionTable::set_size(unsigned mbSize) {
|
void TranspositionTable::set_size(unsigned mbSize) {
|
||||||
|
|
||||||
assert(mbSize >= 4 && mbSize <= 1024);
|
assert(mbSize >= 4 && mbSize <= 4096);
|
||||||
|
|
||||||
unsigned newSize = 1024;
|
unsigned newSize = 1024;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user