Skip to content

Commit 4a11d4e

Browse files
committed
Remove extra dims variable (accounted for in coupling term).
1 parent d0994e1 commit 4a11d4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/HolsteinTheory.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ function holstein_structure_factor(t, v, w, α, ω, β; dims = 3)
429429

430430
prefactor = 2 * phonon_propagator(im * t, ω, β)
431431

432-
prefactor * coupling * dims * first_integral * second_integral^(dims - 1)
432+
prefactor * coupling * first_integral * second_integral^(dims - 1)
433433
end
434434

435435
"""
@@ -471,7 +471,7 @@ function holstein_structure_factor(t, v, w, α, ω; dims = 3)
471471

472472
prefactor = 2 * phonon_propagator(im * t, ω)
473473

474-
prefactor * coupling * dims * first_integral * second_integral^(dims - 1)
474+
prefactor * coupling * first_integral * second_integral^(dims - 1)
475475
end
476476

477477

0 commit comments

Comments
 (0)