Commit acc0c10a authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix compilation warning

parent d3411dcf
......@@ -37,11 +37,11 @@ struct get_predecessor_graph
for (auto v : vertices_range(g))
auto pred_i = get(pred_map, v);
size_t pred_i = get(pred_map, v);
if (pred_i >= num_vertices(g))
auto pred = vertex(pred_i, g);
size_t pred = vertex(pred_i, g);
if (pred == graph_traits<Graph>::null_vertex())
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