COIN-OR::LEMON - Graph Library

Changeset 999:00f8d9f9920d in lemon-main for test


Ignore:
Timestamp:
09/13/12 12:02:27 (12 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
1000:404b98971e1f, 1008:d216e1c8b3fa
Phase:
public
Message:

Further clang compilation fixes (#449)

Location:
test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • test/bellman_ford_test.cc

    r880 r999  
    191191
    192192  ListPath<Digraph> path;
    193   Value dist;
     193  Value dist = 0;
    194194  bool reached = bellmanFord(gr,length).path(path).dist(dist).run(s,t);
    195195
  • test/digraph_test.cc

    r998 r999  
    443443    a3 = g.addArc(n2, n3),
    444444    a4 = g.addArc(n2, n3);
     445  ignore_unused_variable_warning(a2,a3,a4);
    445446
    446447  digraphCopy(g, G).nodeRef(nref).run();
  • test/fractional_matching_test.cc

    r877 r999  
    343343      pv += weight[mwfm.matching(n)];
    344344      SmartGraph::Node o = graph.target(mwfm.matching(n));
     345      ignore_unused_variable_warning(o);
    345346    } else {
    346347      check(mwfm.nodeValue(n) == 0, "Invalid matching");
     
    407408    pv += weight[mwpfm.matching(n)];
    408409    SmartGraph::Node o = graph.target(mwpfm.matching(n));
     410    ignore_unused_variable_warning(o);
    409411  }
    410412
Note: See TracChangeset for help on using the changeset viewer.