mirror of
https://github.com/tgorordo/WignerSymbols.jl.git
synced 2026-06-05 15:42:15 -07:00
fix bug in delta
This commit is contained in:
parent
f647d8948b
commit
e56bea0cf9
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
__precompile__(false)
|
||||
module WignerSymbols
|
||||
export δ, Δ, clebschgordan, wigner3j, wigner6j, racahV, racahW
|
||||
|
||||
|
|
@ -19,6 +20,7 @@ function δ(j₁, j₂, j₃)
|
|||
j₃ <= j₁ + j₂ || return false
|
||||
j₁ <= j₂ + j₃ || return false
|
||||
j₂ <= j₃ + j₁ || return false
|
||||
isinteger(j₁+j₂+j₃) || return false
|
||||
return true
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue