Permalink
Browse files

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>
  • Loading branch information...
mcostalba committed Apr 27, 2009
1 parent fb560fa commit 2550c6383b4646d64ab431cbb573991353ed7a2e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/tt.cpp
View
@@ -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;

0 comments on commit 2550c63

Please sign in to comment.