Changeset 999:81f70097df81 in lemon1.2
 Timestamp:
 05/22/15 17:38:17 (4 years ago)
 Branch:
 default
 Phase:
 public
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/list_graph.h
r877 r999 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.