Commit 7b263944 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix range selector for adjacent vertices

parent 16fba789
......@@ -456,10 +456,10 @@ edges_range(const Graph& g)
template <class Graph>
IterRange<typename boost::graph_traits<Graph>::adjacency_iterator>
adjacency_range(typename boost::graph_traits<Graph>::vertex_descriptor v,
const Graph& g)
adjacent_vertices_range(typename boost::graph_traits<Graph>::vertex_descriptor v,
const Graph& g)
{
return mk_range(adjacency(v, g));
return mk_range(adjacent_vertices(v, g));
}
template <class Graph>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment