COIN-OR::LEMON - Graph Library

Changeset 1984:d4cbd10e1256 in lemon-0.x


Ignore:
Timestamp:
02/24/06 12:13:09 (19 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2577
Message:

Bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/list_graph.h

    r1982 r1984  
    717717    }
    718718    void nextBNode(Node& node) const {
    719       node.id = aNodes[node.id >> 1].next_node;
     719      node.id = bNodes[node.id >> 1].next_node;
    720720    }
    721721
     
    862862    Node addBNode() {
    863863      int bNodeId;
    864       if (first_free_anode == -1) {
     864      if (first_free_bnode == -1) {
    865865        bNodeId = bNodes.size();
    866866        bNodes.push_back(NodeT());
Note: See TracChangeset for help on using the changeset viewer.