Small bug fix
This commit is contained in:
parent
11ce5304bb
commit
34d33629a2
|
|
@ -47,6 +47,6 @@ end
|
||||||
|
|
||||||
function quick_pole_E(V_pq, μ=0.5; cs_angle=0.5, cutoff=8.0, meshpoints=256)
|
function quick_pole_E(V_pq, μ=0.5; cs_angle=0.5, cutoff=8.0, meshpoints=256)
|
||||||
p, w = get_mesh([0, cutoff * exp(-1im * cs_angle)], meshpoints)
|
p, w = get_mesh([0, cutoff * exp(-1im * cs_angle)], meshpoints)
|
||||||
evals = eigvals(get_H_matrix(V_pq, p, w))
|
evals = eigvals(get_H_matrix(V_pq, p, w, μ))
|
||||||
return evals[identify_pole_i(p, evals)]
|
return evals[identify_pole_i(p, evals, μ)]
|
||||||
end
|
end
|
||||||
Loading…
Reference in New Issue