From 5512e35ef62f5ca1243267ed2f81aa487cefa5ec Mon Sep 17 00:00:00 2001 From: lxvm Date: Wed, 6 Dec 2023 02:12:09 -0500 Subject: [PATCH] fix kc_inner_params --- src/apps.jl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/apps.jl b/src/apps.jl index bf08260..344c1a4 100644 --- a/src/apps.jl +++ b/src/apps.jl @@ -509,17 +509,11 @@ function get_safe_fermi_window_limits(Ω, β, dom; kwargs...) return AutoBZCore.PuncturedInterval(int) end -function kc_inner_params(dom, Σ, n, β, Ω, μ; kws...) +function kc_inner_params(dom; Σ, n, β, Ω, μ=zero(Ω)) new_dom = get_safe_fermi_window_limits(Ω, β, dom) return (new_dom, Σ, n, β, Ω, μ) end -kc_inner_params(dom, Σ, n, β, Ω; μ=zero(Ω)) = kc_inner_params(dom, Σ, n, β, Ω, μ) -kc_inner_params(dom, Σ, n, β; Ω, μ=zero(Ω)) = kc_inner_params(dom, Σ, n, β, Ω, μ) -kc_inner_params(dom, Σ, n; β, Ω, μ=zero(Ω)) = kc_inner_params(dom, Σ, n, β, Ω, μ) -kc_inner_params(dom, Σ; n, β, Ω, μ=zero(Ω)) = kc_inner_params(dom, Σ, n, β, Ω, μ) -kc_inner_params(dom; Σ, n, β, Ω, μ=zero(Ω)) = kc_inner_params(dom, Σ, n, β, Ω, μ) - const KineticCoefficientIntegrandType = FourierIntegrand{<:KCFrequencyIntegral} function AutoBZCore.init_solver_cacheval(f::KineticCoefficientIntegrandType, dom, alg)