Skip to content

Commit 117db83

Browse files
yfukaiJoOkuma
andauthored
Update src/tracksdata/graph/_rustworkx_graph.py
Co-authored-by: Jordão Bragantini <jordao.bragantini@gmail.com>
1 parent 82cf59a commit 117db83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tracksdata/graph/_rustworkx_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1993,7 +1993,7 @@ def remove_node(self, node_id: int) -> None:
19931993
raise ValueError(f"Node {node_id} does not exist in the graph.")
19941994

19951995
local_node_id = self._map_to_local(node_id)
1996-
old_attrs = dict(self._graph[local_node_id])
1996+
old_attrs = self._graph[local_node_id]
19971997

19981998
if is_signal_on(self.node_removed):
19991999
old_attrs = dict(self._graph[local_node_id])

0 commit comments

Comments
 (0)