diff --git a/src/treetensornetworks/opsum_to_ttn.jl b/src/treetensornetworks/opsum_to_ttn.jl index 7fd22851..a3923dd8 100644 --- a/src/treetensornetworks/opsum_to_ttn.jl +++ b/src/treetensornetworks/opsum_to_ttn.jl @@ -22,9 +22,9 @@ function align_and_reorder_edges(edges, reference_edges) end function split_at_vertex(g::AbstractGraph, v) - _g = copy(g) - rem_vertex!(_g, v) - return Set.(connected_components(_g)) + g = copy(g) + rem_vertex!(g, v) + return Set.(connected_components(g)) end #