COIN-OR::LEMON - Graph Library

Changeset 1303:1ba759c76810 in lemon


Ignore:
Timestamp:
01/22/14 15:28:03 (6 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
1304:c180a66f6edd, 1305:e937009e4c5f
Phase:
public
Amend:
39343963363663653432386537623738626662393139633636396663313731346636643333376239
Message:

Bugfix in tsp_test (#476)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/tsp_test.cc

    r1271 r1303  
    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.