COIN-OR::LEMON - Graph Library

Changeset 1143:f85ee41c84bc in lemon-main


Ignore:
Timestamp:
05/14/15 17:13:44 (9 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Bugfix in Vf2 - missing initialization (#597)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lemon/vf2.h

    r1142 r1143  
    411411      setOrder();
    412412      setRNew1tRInOut1t();
     413      for(typename G1::NodeIt n(g1);n!=INVALID;++n)
     414        m[n]=INVALID;
    413415    }
    414416
  • test/vf2_test.cc

    r1141 r1143  
    353353        "P10 and C10 are not isomorphic.");
    354354  check(checkIso(c10,c10),
    355         "C10 and C10 are not isomorphic.");
     355        "C10 and C10 are isomorphic.");
     356
     357  check(!vf2(p10,c10).iso().run(),
     358        "P10 and C10 are not isomorphic.");
     359  check(vf2(c10,c10).iso().run(),
     360        "C10 and C10 are isomorphic.");
    356361
    357362  check(!checkSub(c5,petersen,c5_col,petersen_col1),
Note: See TracChangeset for help on using the changeset viewer.