COIN-OR::LEMON - Graph Library

Changeset 1106:1ba759c76810 in lemon-main


Ignore:
Timestamp:
01/22/14 15:28:03 (11 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Amend:
39343963363663653432386537623738626662393139633636396663313731346636643333376239
Message:

Bugfix in tsp_test (#476)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/tsp_test.cc

    r1093 r1106  
    133133    int esize = n <= 1 ? 0 : n;
    134134
    135     TSP alg(g, constMap<Edge, int>(1));
     135    ConstMap<Edge, int> cost_map(1);
     136    TSP alg(g, cost_map);
    136137
    137138    check(alg.run() == esize, alg_name + ": Wrong total cost");
Note: See TracChangeset for help on using the changeset viewer.