From 0ad7de3182ed7c4122fc2a7a72d21daa7ba6d520 Mon Sep 17 00:00:00 2001 From: Joost VandeVondele Date: Sat, 13 Nov 2021 17:14:27 +0100 Subject: [PATCH] [cluster] fix node count in bench command bugfix use the cluster wide node count in bench for reporting No function change --- src/uci.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uci.cpp b/src/uci.cpp index ad131044..7d80d38f 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -180,7 +180,7 @@ namespace { { go(pos, is, states); Threads.main()->wait_for_search_finished(); - nodes += Threads.nodes_searched(); + nodes += Cluster::nodes_searched(); } else if (Cluster::is_root()) trace_eval(pos);