From 2550c6383b4646d64ab431cbb573991353ed7a2e Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Mon, 27 Apr 2009 10:29:33 +0100 Subject: [PATCH] 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 --- src/tt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2