Skip to content

Commit

Permalink
Bugfix for KO
Browse files Browse the repository at this point in the history
  • Loading branch information
dcerkoney committed Feb 27, 2024
1 parent d6edaaa commit f0893c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/sigma/get_meff_gw.jl
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function get_Σ_GW(param::Parameter.Para, int_type, max_steps, atol, alpha, δK,
minK=minK,
order=order,
int_type=_int_type,
Fs=int_type == :ko_const_p ? -Fs : -0.0, # NOTE: NEFT uses opposite sign convention for F!
Fs=_int_type == :ko_const ? -Fs : -0.0, # NOTE: NEFT uses opposite sign convention for F!
Fa=int_type == :ko_const_pm ? -Fa : -0.0, # NOTE: NEFT uses opposite sign convention for F!
)
end
Expand Down Expand Up @@ -265,7 +265,7 @@ function get_meff_from_Σ_G0W(param::Parameter.Para; δK=5e-6, int_type=:rpa)
minK=minK,
order=order,
int_type=_int_type,
Fs=int_type == :ko_const_p ? -Fs : -0.0, # NOTE: NEFT uses opposite sign convention for F!
Fs=_int_type == :ko_const ? -Fs : -0.0, # NOTE: NEFT uses opposite sign convention for F!
Fa=int_type == :ko_const_pm ? -Fa : -0.0, # NOTE: NEFT uses opposite sign convention for F!
)

Expand Down

0 comments on commit f0893c4

Please sign in to comment.