mirror of
https://github.com/sockspls/badfish
synced 2025-05-16 07:29:36 +00:00
Another TT size limit fix attempt
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
162dbeaee8
commit
38b1c4b6b8
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ TranspositionTable::~TranspositionTable() {
|
|||
/// TranspositionTable::set_size sets the size of the transposition table,
|
||||
/// measured in megabytes.
|
||||
|
||||
void TranspositionTable::set_size(unsigned mbSize) {
|
||||
void TranspositionTable::set_size(size_t mbSize) {
|
||||
|
||||
assert(mbSize >= 4 && mbSize <= 8192);
|
||||
|
||||
|
|
2
src/tt.h
2
src/tt.h
|
@ -95,7 +95,7 @@ class TranspositionTable {
|
|||
public:
|
||||
TranspositionTable();
|
||||
~TranspositionTable();
|
||||
void set_size(unsigned mbSize);
|
||||
void set_size(size_t mbSize);
|
||||
void clear();
|
||||
void store(const Key posKey, Value v, ValueType type, Depth d, Move m);
|
||||
TTEntry* retrieve(const Key posKey) const;
|
||||
|
|
Loading…
Add table
Reference in a new issue