changed search functions to templates
This commit is contained in:
1 parent
3fe79ab497
commit
15a8e1c134
5 files changed
+87
-33
No files matched your search
+1
-1
@@ -82,7 +82,7 @@ static void ParseGo(Board &board, std::string &command) {
|
||||
params.btime = ReadParam("movetime", command);
|
||||
}
|
||||
|
||||
auto worker = std::thread(SEARCH::SearchPosition, std::ref(board), params);
|
||||
auto worker = std::thread(SEARCH::SearchPosition<SEARCH::normal>, std::ref(board), params);
|
||||
worker.detach();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user