Skip to content

Commit

Permalink
Make a better comment and add back the original line
Browse files Browse the repository at this point in the history
  • Loading branch information
kmp5VT committed Oct 8, 2023
1 parent d69f758 commit f19e52d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mps/dmrg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,10 @@ function dmrg(PH, psi0::MPS, sweeps::Sweeps; kwargs...)
end

energy = vals[1]
## Right now this convert problem is prevelent in an eigen solver implemented in KrylovKit
## Right now there is a conversion problem in CUDA.jl where `UnifiedMemory` Arrays are being converted
## into `DeviceMemory`. This conversion line is here temporarily to fix that problem when it arises
phi::ITensor = itensor(convert(typeof(tensor(phi)), tensor(vecs[1])))
#phi::ITensor = vecs[1]

ortho = ha == 1 ? "left" : "right"

Expand Down

0 comments on commit f19e52d

Please sign in to comment.