1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 11:39:15 +00: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:
Marco Costalba 2009-04-27 10:29:33 +01:00
parent fb560fa5d7
commit 2550c6383b

View file

@ -58,7 +58,7 @@ TranspositionTable::~TranspositionTable() {
void TranspositionTable::set_size(unsigned mbSize) {
assert(mbSize >= 4 && mbSize <= 1024);
assert(mbSize >= 4 && mbSize <= 4096);
unsigned newSize = 1024;