fix updating φ in blossom step
This commit is contained in:
parent
7c36caa505
commit
249877af7e
@ -178,7 +178,7 @@ void maximum_matching_from_initial_matching(Graph & graph)
|
||||
}
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user