Fix processing for data files with incorrect node references

This commit is contained in:
Patrick Niklaus
2015-09-10 12:21:36 +02:00
parent 4fa9022932
commit a95bf64ccf
3 changed files with 36 additions and 18 deletions
+1
View File
@@ -119,6 +119,7 @@ template <typename EdgeDataT> class DynamicGraph
node_array[node].first_edge + node_array[node].edges))
{
edge_list[i].target = graph[edge].target;
BOOST_ASSERT(edge_list[i].target < number_of_nodes);
edge_list[i].data = graph[edge].data;
++edge;
}