Changes in / [1324:8e5c93065fd0:1360:d94bb1e50557] in lemon
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/list_graph.h
r956 r1355 583 583 } 584 584 virtual void add(const std::vector<Node>& nodes) { 585 for (int i = nodes.size()  1; i >= 0; ++i) {585 for (int i = nodes.size()  1; i >= 0; i) { 586 586 snapshot.addNode(nodes[i]); 587 587 } … … 633 633 } 634 634 virtual void add(const std::vector<Arc>& arcs) { 635 for (int i = arcs.size()  1; i >= 0; ++i) {635 for (int i = arcs.size()  1; i >= 0; i) { 636 636 snapshot.addArc(arcs[i]); 637 637 } … … 1395 1395 } 1396 1396 virtual void add(const std::vector<Node>& nodes) { 1397 for (int i = nodes.size()  1; i >= 0; ++i) {1397 for (int i = nodes.size()  1; i >= 0; i) { 1398 1398 snapshot.addNode(nodes[i]); 1399 1399 } … … 1445 1445 } 1446 1446 virtual void add(const std::vector<Edge>& edges) { 1447 for (int i = edges.size()  1; i >= 0; ++i) {1447 for (int i = edges.size()  1; i >= 0; i) { 1448 1448 snapshot.addEdge(edges[i]); 1449 1449 }
Note: See TracChangeset
for help on using the changeset viewer.