mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 08:36:33 +08:00
Reformat UCI option code
Make a better use of C++ operators overloading to streamline the APIs. Also sync polyglot.ini file while there. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -112,8 +112,8 @@ bool Thread::is_available_to(int master) const {
|
||||
|
||||
void ThreadsManager::read_uci_options() {
|
||||
|
||||
maxThreadsPerSplitPoint = Options["Maximum Number of Threads per Split Point"].value<int>();
|
||||
minimumSplitDepth = Options["Minimum Split Depth"].value<int>() * ONE_PLY;
|
||||
maxThreadsPerSplitPoint = Options["Max Threads per Split Point"].value<int>();
|
||||
minimumSplitDepth = Options["Min Split Depth"].value<int>() * ONE_PLY;
|
||||
useSleepingThreads = Options["Use Sleeping Threads"].value<bool>();
|
||||
|
||||
set_size(Options["Threads"].value<int>());
|
||||
|
||||
Reference in New Issue
Block a user