removed hashSize global | bench 1857933

This commit is contained in:
rektdie committed 2025-04-11 23:41:26 +02:00
1 parent 8ca878275a
commit 3aad0d90ee
3 files changed
+7 -8

No files matched your search

+1 -1
View File
@@ -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);
}
}