From a1862661e887cbb714b74de2a2abb9a957305707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sat, 4 Nov 2023 19:06:36 +0100 Subject: [PATCH] fix typo on bad member access --- graph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graph.cpp b/graph.cpp index 1a88fa1..5041d36 100644 --- a/graph.cpp +++ b/graph.cpp @@ -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 } }