Fix execute_with_workers test call in uci

This commit is contained in:
Tomasz Sobczyk
2020-10-19 15:27:33 +02:00
committed by nodchip
parent 71862e2ebb
commit 74af287637

View File

@@ -347,7 +347,7 @@ void UCI::loop(int argc, char* argv[]) {
else if (token == "search") search_cmd(pos, is);
else if (token == "tasktest")
{
Threads.execute_parallel([](auto& th) {
Threads.execute_with_workers([](auto& th) {
std::cout << th.thread_idx() << '\n';
});
}