We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df76b90 commit 0f50dc5Copy full SHA for 0f50dc5
src/environments/qp_envs.jl
@@ -46,7 +46,7 @@ function environments(qp::MultilineQP, operator::MultilineMPO, lenvs, renvs; kwa
46
end
47
48
function environments(exci::InfiniteQP, H::InfiniteMPOHamiltonian, lenvs, renvs; kwargs...)
49
- ids = findall(Base.Fix1(isidentitylevel, H), 2:(size(H[1], 1) - 1))
+ ids = findall(Base.Fix1(isidentitylevel, H), 2:(size(H[1], 1) - 1)) .+ 1
50
solver = environment_alg(exci, H, exci; kwargs...)
51
52
AL = exci.left_gs.AL
0 commit comments