changed search functions to templates

This commit is contained in:
rektdie committed 2025-03-31 02:11:42 +02:00
1 parent 3fe79ab497
commit 15a8e1c134
5 files changed
+87 -33

No files matched your search

+1 -1
View File
@@ -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();
}