2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-26 04:42:16 +00:00

Merged change r75431 from trunk; refs #6112

[SVN r75471]
This commit is contained in:
Jeremiah Willcock
2011-11-13 06:10:55 +00:00
parent 3a546c9418
commit a88250f76f
39 changed files with 120 additions and 63 deletions

View File

@@ -137,7 +137,7 @@ int test_graph(const std::string& dimacs_filename)
// Initialize the interior edge index
property_map<graph, edge_index_t>::type e_index = get(edge_index, g);
e_size_t edge_count = 0;
for(tie(ei, ei_end) = edges(g); ei != ei_end; ++ei)
for(boost::tie(ei, ei_end) = edges(g); ei != ei_end; ++ei)
put(e_index, *ei, edge_count++);
// Initialize the interior vertex index - not needed if the vertices
@@ -145,7 +145,7 @@ int test_graph(const std::string& dimacs_filename)
/*
property_map<graph, vertex_index_t>::type v_index = get(vertex_index, g);
v_size_t vertex_count = 0;
for(tie(vi, vi_end) = vertices(g); vi != vi_end; ++vi)
for(boost::tie(vi, vi_end) = vertices(g); vi != vi_end; ++vi)
put(v_index, *vi, vertex_count++);
*/