Skip to content

Commit 8a6dbce

Browse files
committed
update VOMPS for infinite environments
1 parent 414f6be commit 8a6dbce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algorithms/statmech/vomps.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function leading_boundary(ψ::MultilineMPS, O::MultilineMPO, alg::VOMPS,
4242
ψ = MultilineMPS(temp_ACs, ψ.C[:, end]; alg_gauge.tol, alg_gauge.maxiter)
4343

4444
alg_environments = updatetol(alg.alg_environments, iter, ϵ)
45-
recalculate!(envs, ψ; alg_environments.tol)
45+
recalculate!(envs, ψ, O, ψ; alg_environments.tol)
4646

4747
ψ, envs = alg.finalize(iter, ψ, O, envs)::Tuple{typeof(ψ),typeof(envs)}
4848

0 commit comments

Comments
 (0)