Bug fix
This commit is contained in:
parent
073dd81a6e
commit
03f9ae6789
|
|
@ -4,7 +4,7 @@ include("ho_basis.jl")
|
|||
"Basis transformation from HO to momentum space"
|
||||
function get_W_matrix(basis_p, basis_HO, μ1ω1, μ2ω2=μ1ω1; weights=true)
|
||||
Es, n1s, l1s, n2s, l2s = basis_HO
|
||||
W = zeros(ComplexF64, length(basis), length(Es))
|
||||
W = zeros(ComplexF64, length(basis_p), length(Es))
|
||||
Threads.@threads for idx in CartesianIndices(W)
|
||||
(i1, i2) = Tuple(idx)
|
||||
((k1, w1), (k2, w2), (j1, j2)) = basis_p[i1]
|
||||
|
|
|
|||
Loading…
Reference in New Issue