COIN-OR::LEMON - Graph Library

Changeset 180:95f0c5f3fc70 in lemon-0.x for src/work/marci/dimacs.h


Ignore:
Timestamp:
03/12/04 21:09:35 (16 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@256
Message:

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/marci/dimacs.h

    r174 r180  
    1919    std::string str;
    2020    int n, m;
     21    typename Graph::Edge e;
    2122    std::vector<typename Graph::Node> nodes;
    2223    while (is>>c) {
     
    5051        is >> i >> j >> cap;
    5152        getline(is, str);
    52         typename Graph::Edge e=G.addEdge(nodes[i], nodes[j]);
     53        e=G.addEdge(nodes[i], nodes[j]);
    5354        capacity.update();
    5455        capacity.set(e, cap);
Note: See TracChangeset for help on using the changeset viewer.