mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 02:27:00 +08:00
Fix UCI options
Fixes the type for 'Clear Hash' and uses MAX_MOVES for 'MultiPV' as we had before. No functional change
This commit is contained in:
@@ -64,9 +64,9 @@ UCI::UCI(int argc, char** argv) :
|
||||
tt.resize(o, options["Threads"]);
|
||||
});
|
||||
|
||||
options["Clear Hash"] << Option(true, [this](const Option&) { search_clear(); });
|
||||
options["Clear Hash"] << Option([this](const Option&) { search_clear(); });
|
||||
options["Ponder"] << Option(false);
|
||||
options["MultiPV"] << Option(1, 1, 500);
|
||||
options["MultiPV"] << Option(1, 1, MAX_MOVES);
|
||||
options["Skill Level"] << Option(20, 0, 20);
|
||||
options["Move Overhead"] << Option(10, 0, 5000);
|
||||
options["nodestime"] << Option(0, 0, 10000);
|
||||
|
||||
Reference in New Issue
Block a user