From 4a11d4ef29dd29e084f220e276df175a0fff888e Mon Sep 17 00:00:00 2001 From: Bradley Martin Date: Thu, 12 Oct 2023 09:35:06 +0100 Subject: [PATCH] Remove extra dims variable (accounted for in coupling term). --- src/HolsteinTheory.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HolsteinTheory.jl b/src/HolsteinTheory.jl index 4add893..a5f9552 100644 --- a/src/HolsteinTheory.jl +++ b/src/HolsteinTheory.jl @@ -429,7 +429,7 @@ function holstein_structure_factor(t, v, w, α, ω, β; dims = 3) prefactor = 2 * phonon_propagator(im * t, ω, β) - prefactor * coupling * dims * first_integral * second_integral^(dims - 1) + prefactor * coupling * first_integral * second_integral^(dims - 1) end """ @@ -471,7 +471,7 @@ function holstein_structure_factor(t, v, w, α, ω; dims = 3) prefactor = 2 * phonon_propagator(im * t, ω) - prefactor * coupling * dims * first_integral * second_integral^(dims - 1) + prefactor * coupling * first_integral * second_integral^(dims - 1) end