COIN-OR::LEMON - Graph Library

Changeset 373:5a3d689ea770 in lemon-1.2 for lemon


Ignore:
Timestamp:
11/07/08 12:00:53 (16 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Bug fix in SmartGraph::restoreSnapshot() (#171)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/smart_graph.h

    r370 r373  
    731731        dir.push_back(arcFromId(n-1));
    732732        Parent::notifier(Arc()).erase(dir);
    733         nodes[arcs[n].target].first_out=arcs[n].next_out;
    734         nodes[arcs[n-1].target].first_out=arcs[n-1].next_out;
     733        nodes[arcs[n-1].target].first_out=arcs[n].next_out;
     734        nodes[arcs[n].target].first_out=arcs[n-1].next_out;
    735735        arcs.pop_back();
    736736        arcs.pop_back();
Note: See TracChangeset for help on using the changeset viewer.