fix typo on bad member access

This commit is contained in:
Maximilian Keßler 2023-11-04 19:06:36 +01:00
parent daaee30be8
commit a1862661e8
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -200,8 +200,8 @@ void Graph::reset_forest()
{
NodeId cur_id = 0;
for(auto & node : _nodes) {
node._ear_or_root_neighbor = cur_id;
node._root_of_ear_component = cur_id;
node.ear_or_root_neighbor = cur_id;
node.root_of_ear_component = cur_id;
// Note that we do not change the matching itself here
}
}