fix: typo
This commit is contained in:
parent
4e316ade73
commit
1d75066eea
2 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ void augment(GraphAttributes & attrs, std::vector<NodeId> const & x_path, std::v
|
||||||
for(size_t i = 1; i < y_path.size(); i += 2)
|
for(size_t i = 1; i < y_path.size(); i += 2)
|
||||||
{
|
{
|
||||||
attrs.mu[y_path[i]] = y_path[i+1];
|
attrs.mu[y_path[i]] = y_path[i+1];
|
||||||
attrs.mu[y_path[i+1]] = x_path[i+1];
|
attrs.mu[y_path[i+1]] = y_path[i];
|
||||||
}
|
}
|
||||||
attrs.reset_forest();
|
attrs.reset_forest();
|
||||||
collect_exposed_vertices(attrs, outer_unvisited_nodes);
|
collect_exposed_vertices(attrs, outer_unvisited_nodes);
|
||||||
|
|
|
@ -49,7 +49,7 @@ namespace ED
|
||||||
|
|
||||||
inline
|
inline
|
||||||
bool GraphAttributes::is_outer(NodeId const id) const {
|
bool GraphAttributes::is_outer(NodeId const id) const {
|
||||||
return mu[id] == id or phi[mu[id]] == mu[id];
|
return mu[id] == id or phi[mu[id]] != mu[id];
|
||||||
}
|
}
|
||||||
|
|
||||||
inline
|
inline
|
||||||
|
|
Loading…
Reference in a new issue