Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
mtfishman and github-actions[bot] authored Apr 3, 2024
1 parent 423deac commit d101962
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/treetensornetworks/ttn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@ function ttn(
end

# construct from dense ITensor, using IndsNetwork of site indices
function ttn(
A::ITensor, is::IndsNetwork; ortho_center=default_root_vertex(is), kwargs...
)
function ttn(A::ITensor, is::IndsNetwork; ortho_center=default_root_vertex(is), kwargs...)
for v in vertices(is)
@assert hasinds(A, is[v])
end
Expand Down

0 comments on commit d101962

Please sign in to comment.