Un-asserted two function calls - this was causing the function calls to turn into no-ops when the example was compiled with debugging off.

[SVN r40167]
This commit is contained in:
Aaron Windsor 2007-10-19 00:16:36 +00:00
parent e54f2934e1
commit e9747c0143

View File

@ -70,7 +70,8 @@ int main()
// matching returned is not actually a maximum cardinality matching // matching returned is not actually a maximum cardinality matching
// in the graph. // in the graph.
assert(checked_edmonds_maximum_cardinality_matching(g, &mate[0])); bool success = checked_edmonds_maximum_cardinality_matching(g, &mate[0]);
assert(success);
std::cout << "In the following graph:" << std::endl << std::endl; std::cout << "In the following graph:" << std::endl << std::endl;
@ -96,7 +97,8 @@ int main()
add_edge(12,13,g); add_edge(12,13,g);
add_edge(16,17,g); add_edge(16,17,g);
assert(checked_edmonds_maximum_cardinality_matching(g, &mate[0])); success = checked_edmonds_maximum_cardinality_matching(g, &mate[0]);
assert(success);
std::cout << "In the following graph:" << std::endl << std::endl; std::cout << "In the following graph:" << std::endl << std::endl;