From 5b9e0af5066114afbadd134cee18b46ebc40dd6f Mon Sep 17 00:00:00 2001 From: lkdvos Date: Fri, 3 May 2024 17:26:01 +0200 Subject: [PATCH] Fix scoping issue for variables in julia 1.8 (part II) --- src/algorithms/approximate/vomps.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/algorithms/approximate/vomps.jl b/src/algorithms/approximate/vomps.jl index 46a82b74..266b3016 100644 --- a/src/algorithms/approximate/vomps.jl +++ b/src/algorithms/approximate/vomps.jl @@ -63,6 +63,7 @@ function approximate(ψ::MPSMultiline, toapprox::Tuple{<:MPOMultiline,<:MPSMulti end function _vomps_localupdate(loc, ψ, (O, ψ₀), envs, factalg=QRpos()) + local tmp_AC, tmp_C @static if Defaults.parallelize_sites @sync begin Threads.@spawn begin