COIN-OR::LEMON - Graph Library

Changeset 2386:81b47fc5c444 in lemon-0.x for lemon/unionfind.h


Ignore:
Timestamp:
03/02/07 19:04:28 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3217
Message:

Hard Warning checking

  • based on the remark of the ZIB user
  • we do not use -Winline
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/unionfind.h

    r2332 r2386  
    409409          }
    410410     
    411           int idx = items[k].nextItem;
    412           while (idx != k) {
    413             items[idx].parent = nk;
    414             idx = items[idx].nextItem;
     411          int l = items[k].nextItem;
     412          while (l != k) {
     413            items[l].parent = nk;
     414            l = items[l].nextItem;
    415415          }
    416416         
Note: See TracChangeset for help on using the changeset viewer.