From: Marco Costalba Date: Mon, 27 Apr 2009 09:29:33 +0000 (+0100) Subject: Fix a bogus assert in tt.cpp X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=2550c6383b4646d64ab431cbb573991353ed7a2e 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 --- diff --git a/src/tt.cpp b/src/tt.cpp index 8c5f3e34..4cc19c59 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -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;