From 724d6ec0c837cae4e07c4730e68925169dcd03c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20S=C3=A1nchez=20Ram=C3=ADrez?= <15837247+mofeing@users.noreply.github.com> Date: Mon, 9 Sep 2024 10:00:25 -0400 Subject: [PATCH] Update src/TensorNetwork.jl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jofre Vallès Muns <61060572+jofrevalles@users.noreply.github.com> --- src/TensorNetwork.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TensorNetwork.jl b/src/TensorNetwork.jl index e46d52a9..2753a161 100644 --- a/src/TensorNetwork.jl +++ b/src/TensorNetwork.jl @@ -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))