Skip to content

Commit 4523047

Browse files
authored
Do not set num_threads to 1 (#565)
This fixes an error introduced in 8f05442 (cf. #555)
1 parent 2cc8082 commit 4523047

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

include/CXXGraph/Graph/Algorithm/BestFirstSearch_impl.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ BestFirstSearchResult<T> Graph<T>::best_first_search(
112112
template <typename T>
113113
const std::vector<Node<T>> Graph<T>::concurrency_breadth_first_search(
114114
const Node<T> &start, size_t num_threads) const {
115-
num_threads = 1;
116115
std::vector<Node<T>> bfs_result;
117116
// check is exist node in the graph
118117
auto &nodeSet = Graph<T>::getNodeSet();

0 commit comments

Comments
 (0)