fix updating φ in blossom step

This commit is contained in:
Maximilian Keßler 2023-11-05 17:54:52 +01:00
parent 7c36caa505
commit 249877af7e
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -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