Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wmdi committed Sep 1, 2023
1 parent e0559cb commit c2513c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/utils/src/graph/algorithms.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,11 @@ std::unordered_set<Node> get_nodes(OpenMultiDiEdge const &edge) {
return visit(GetNodesFunctor{}, edge);
}

std::unordered_set<Node> query_nodes(IGraphView const &g,
std::unordered_set<Node> query_nodes(GraphView const &g,
std::unordered_set<Node> const &nodes) {
return g.query_nodes({nodes});
}

std::unordered_set<NodePort> get_present_node_ports(MultiDiGraphView const &g) {
return flatmap(get_edges(g), [](MultiDiEdge const &e) {
return std::unordered_set<NodePort>{e.srcIdx, e.dstIdx};
Expand Down

0 comments on commit c2513c6

Please sign in to comment.