Skip to content

Commit de29e17

Browse files
committed
avoid using implementation detail
1 parent 5153333 commit de29e17

File tree

1 file changed

+1
-1
lines changed
  • NDTensors/src/lib/Sectors/src/category_definitions

1 file changed

+1
-1
lines changed

NDTensors/src/lib/Sectors/src/category_definitions/su.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function label_fusion_rule(::Type{<:SU{2}}, s1, s2)
9595
end
9696

9797
# define angular momentum-like interface using half-integers
98-
SU2(h::Number) = SU{2,1}((HalfIntegers.twice(HalfIntegers.HalfInteger(h)),))
98+
SU2(h::Number) = SU{2}((HalfIntegers.twice(HalfIntegers.HalfInteger(h)),))
9999

100100
# display SU2 using half-integers
101101
function Base.show(io::IO, s::SU{2})

0 commit comments

Comments
 (0)