Skip to content

Commit

Permalink
Fix check in ITensor to TTN converter
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed Apr 5, 2024
1 parent 4756d28 commit 99f61de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/treetensornetworks/ttn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function ttn(a::ITensor, is::IndsNetwork; ortho_region=[default_root_vertex(is)]
for v in vertices(is)
@assert hasinds(a, is[v])
end
@assert ortho_region vertices(is)
@assert ortho_region vertices(is)
tn = ITensorNetwork(is)
ortho_center = first(ortho_region)
for e in post_order_dfs_edges(tn, ortho_center)
Expand Down

0 comments on commit 99f61de

Please sign in to comment.