Skip to content

Commit

Permalink
Edit comment for copy os sites in ttn_svd.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Kloss committed Jan 22, 2024
1 parent 75ba320 commit 872d037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/treetensornetworks/opsum_to_ttn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function ttn_svd(
)
linkdir_ref = ITensors.In # safe to always use autofermion default here

sites = copy(sites0) # deepcopy because of inplace modification to handle internal indices
sites = copy(sites0) # copy because of modification to handle internal indices
edgetype_sites = edgetype(sites)
vertextype_sites = vertextype(sites)
thishasqns = any(v -> hasqns(sites[v]), vertices(sites))
Expand Down

0 comments on commit 872d037

Please sign in to comment.