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:
Disservin
2024-01-14 10:39:57 +01:00
parent cf5b070913
commit 12e97701b2

View File

@@ -64,9 +64,9 @@ UCI::UCI(int argc, char** argv) :
tt.resize(o, options["Threads"]); 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["Ponder"] << Option(false);
options["MultiPV"] << Option(1, 1, 500); options["MultiPV"] << Option(1, 1, MAX_MOVES);
options["Skill Level"] << Option(20, 0, 20); options["Skill Level"] << Option(20, 0, 20);
options["Move Overhead"] << Option(10, 0, 5000); options["Move Overhead"] << Option(10, 0, 5000);
options["nodestime"] << Option(0, 0, 10000); options["nodestime"] << Option(0, 0, 10000);