fix updating φ in blossom step
This commit is contained in:
parent
7c36caa505
commit
249877af7e
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ void maximum_matching_from_initial_matching(Graph & graph)
|
||||||
}
|
}
|
||||||
if (graph.rho(y_path.front()) != blossom_root_id)
|
if (graph.rho(y_path.front()) != blossom_root_id)
|
||||||
{
|
{
|
||||||
graph.node(x_path.front()).phi = x_path.front();
|
graph.node(y_path.front()).phi = x_path.front();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update root indices
|
// Update root indices
|
||||||
|
|
Loading…
Reference in a new issue