COIN-OR::LEMON - Graph Library

Changeset 232:e39056157d24 in lemon-1.2


Ignore:
Timestamp:
07/23/08 19:21:20 (16 years ago)
Author:
Balazs Dezso <deba@…>
Branch:
default
Phase:
public
Message:

Two bug fixes in DynArcLookUp?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/core.h

    r229 r232  
    13851385          _right.set(e, _right[arc]);
    13861386          _parent.set(_right[arc], e);
     1387          _parent.set(e, _parent[arc]);
    13871388
    13881389          if (_parent[arc] != INVALID) {
     
    15151516    {
    15161517      Arc a = _head[s];
     1518      if (a == INVALID) return INVALID;
    15171519      while (true) {
    15181520        if (_g.target(a) == t) {
     
    15491551    {
    15501552      Arc a = _head[s];
     1553      if (a == INVALID) return INVALID;
    15511554      Arc r = INVALID;
    15521555      while (true) {
Note: See TracChangeset for help on using the changeset viewer.