diff --git a/skimage/graph/graph_merge.py b/skimage/graph/graph_merge.py index 5bafbd1f..308f7f37 100644 --- a/skimage/graph/graph_merge.py +++ b/skimage/graph/graph_merge.py @@ -50,6 +50,7 @@ def _rename_node(graph, node_id, copy_id): graph.remove_node(node_id) + def _invalidate_edge(graph, n1, n2): """ Invalidates the edge (n1, n2) in the heap. """ graph[n1][n2]['heap item'][3] = False