Skip to content

Commit

Permalink
Fix 1.6 missing method
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Oct 18, 2023
1 parent 14ffb18 commit 81ea75a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QWignerSymbols.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ end

function TensorKit.Rsymbol(a::T, b::T, c::T) where {T<:SU2qIrrep}
factor = q(T)^((c.j * (c.j + 1) - a.j * (a.j + 1) - b.j * (b.j + 1)) / 2)
return isodd(a.j + b.j - c.j) ? -factor : factor
return isodd(convert(Int, a.j + b.j - c.j)) ? -factor : factor
end

TensorKit.dim(s::SU2qIrrep) = q_number(twice(s.j)+1, q(typeof(s)))
Expand Down

0 comments on commit 81ea75a

Please sign in to comment.