Skip to content

Commit

Permalink
Update src/treetensornetworks/opsum_to_ttn.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Fishman <[email protected]>
  • Loading branch information
b-kloss and mtfishman authored Apr 16, 2024
1 parent 05ffb5d commit 618e298
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/treetensornetworks/opsum_to_ttn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

#
Expand Down

0 comments on commit 618e298

Please sign in to comment.