mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Default Hash defined in a single place
Instead of defining it both in ucioption.cpp and benchmark.cpp. Obviously changing the default Hash will change the bench as a result. No functional change.
This commit is contained in:
@@ -82,7 +82,7 @@ void benchmark(const Position& current, istream& is) {
|
|||||||
vector<string> fens;
|
vector<string> fens;
|
||||||
|
|
||||||
// Assign default values to missing arguments
|
// Assign default values to missing arguments
|
||||||
string ttSize = (is >> token) ? token : "32";
|
string ttSize = (is >> token) ? token : Options["Hash"];
|
||||||
string threads = (is >> token) ? token : "1";
|
string threads = (is >> token) ? token : "1";
|
||||||
string limit = (is >> token) ? token : "13";
|
string limit = (is >> token) ? token : "13";
|
||||||
string fenFile = (is >> token) ? token : "default";
|
string fenFile = (is >> token) ? token : "default";
|
||||||
|
|||||||
Reference in New Issue
Block a user