From da3e94f20884f303dacba20c189c45b451dc31d8 Mon Sep 17 00:00:00 2001 From: Gertian Date: Tue, 15 Oct 2024 16:31:37 +0300 Subject: [PATCH] formatted --- src/algorithms/grassmann.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/algorithms/grassmann.jl b/src/algorithms/grassmann.jl index 8cb27962..f961fd66 100644 --- a/src/algorithms/grassmann.jl +++ b/src/algorithms/grassmann.jl @@ -220,7 +220,7 @@ end Retract a left-canonical finite MPS along Grassmann tangent `g` by distance `alpha`. """ function retract(x::ManifoldPoint{<:FiniteMPS}, g, alpha) - #TODO : support parralelize_sites + #TODO : support parralelize_sites. state = x.state envs = x.envs @@ -247,13 +247,13 @@ function transport!(h, x, g, alpha, xp) @sync for i in 1:length(h) Threads.@spawn begin h[i] = PrecGrad(Grassmann.transport!(h[i].Pg, x.state.AL[i], g[i].Pg, alpha, - xp.state.AL[i])) + xp.state.AL[i])) end end else for i in 1:length(h) h[i] = PrecGrad(Grassmann.transport!(h[i].Pg, x.state.AL[i], g[i].Pg, alpha, - xp.state.AL[i])) + xp.state.AL[i])) end end return h