From 74af28763718258f250500dfd19b5d68c12339b8 Mon Sep 17 00:00:00 2001 From: Tomasz Sobczyk Date: Mon, 19 Oct 2020 15:27:33 +0200 Subject: [PATCH] Fix execute_with_workers test call in uci --- src/uci.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uci.cpp b/src/uci.cpp index 1aa9f95e..b05c7eeb 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -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'; }); }