mirror of
https://github.com/boostorg/graph.git
synced 2025-05-09 02:44:06 +00:00
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:
parent
e54f2934e1
commit
e9747c0143
@ -70,7 +70,8 @@ int main()
|
||||
// matching returned is not actually a maximum cardinality matching
|
||||
// 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;
|
||||
|
||||
@ -96,7 +97,8 @@ int main()
|
||||
add_edge(12,13,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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user