Skip to content

Commit

Permalink
Remove extra dims variable (accounted for in coupling term).
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutrino155 committed Oct 12, 2023
1 parent d0994e1 commit 4a11d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HolsteinTheory.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

"""
Expand Down Expand Up @@ -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


Expand Down

0 comments on commit 4a11d4e

Please sign in to comment.