COIN-OR::LEMON - Graph Library

Changeset 2069:d55adbe1fc78 in lemon-0.x


Ignore:
Timestamp:
05/05/06 12:48:58 (18 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2729
Message:

Bug fix: Using set instead reference assignment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/ugraph_adaptor.h

    r2042 r2069  
    962962    Edge addEdge(const Node& source, const Node& target) const {
    963963      Edge edge = graph->addEdge(source, target);
    964       (*direction)[edge] = graph->source(edge) == source;
     964      direction->set(edge, graph->source(edge) == source);
    965965      return edge;
    966966    }
Note: See TracChangeset for help on using the changeset viewer.