removed hashSize global | bench 1857933
This commit is contained in:
1 parent
8ca878275a
commit
3aad0d90ee
3 files changed
+7
-8
No files matched your search
+1
-1
@@ -94,7 +94,7 @@ static void ParseGo(Board &board, std::string &command, SEARCH::SearchContext& c
|
||||
|
||||
static void SetOption(std::string &command, SEARCH::SearchContext& ctx) {
|
||||
if (command.find("Hash") != std::string::npos) {
|
||||
hashSize = (ReadParam("value", command) * 1000000) / sizeof(TTEntry);
|
||||
U64 hashSize = (ReadParam("value", command) * 1000000) / sizeof(TTEntry);
|
||||
ctx.TT->Resize(hashSize);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user