Skip to content

Commit

Permalink
Update src/TensorNetwork.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Jofre Vallès Muns <[email protected]>
  • Loading branch information
mofeing and jofrevalles authored Sep 9, 2024
1 parent c53c6e4 commit 724d6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TensorNetwork.jl
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ Base.in(index::Symbol, tn::TensorNetwork) = index ∈ keys(tn.indexmap)
"""
groupinds!(tn::AbstractTensorNetwork, i::Symbol)
Group indices parallel to `i` and reshape the tensors to reflect it.
Group indices parallel to `i` and reshape the tensors accordingly.
"""
function groupinds!(tn::AbstractTensorNetwork, i)
parinds = filter!(!=(i), inds(tn; parallelto=i))
Expand Down

0 comments on commit 724d6ec

Please sign in to comment.