projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb560fa
)
Fix a bogus assert in tt.cpp
author
Marco Costalba
<mcostalba@gmail.com>
Mon, 27 Apr 2009 09:29:33 +0000
(10:29 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Mon, 27 Apr 2009 09:29:33 +0000
(10:29 +0100)
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>
src/tt.cpp
patch
|
blob
|
history
diff --git
a/src/tt.cpp
b/src/tt.cpp
index
8c5f3e3
..
4cc19c5
100644
(file)
--- 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;