Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add wigner9j symbols #18

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
make sum return explicit
tgorordo committed Sep 4, 2024

Verified

This commit was signed with the committer’s verified signature.
tgorordo Thomas (Tom) C. Gorordo
commit d2c6e12c1311053e51a1ab7c1ea060671ac12f36
2 changes: 1 addition & 1 deletion src/WignerSymbols.jl
Original file line number Diff line number Diff line change
@@ -454,7 +454,7 @@ function compute9jseries(a, b, c, d, e, f, g, h, j)
I2 = min(h + d, b + f, a + j)
krange = I1:I2

sum(krange) do k
return sum(krange) do k
p = iseven(2k) ? big(2k + 1) : -big(2k + 1)

b₁ = let (m₁, m₂, m₃, m₄, m₅, m₆) = (a, b, c, f, j, k)