Skip to content

Commit

Permalink
Specify eltype for CU1Irrep product iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Apr 7, 2024
1 parent fe3c9c2 commit 1cdf202
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sectors/irreps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ function Base.length(p::CU1ProdIterator)
return 2
end
end
Base.eltype(::Type{CU1ProdIterator}) = CU1Irrep

(a::CU1Irrep, b::CU1Irrep) = CU1ProdIterator(a, b)

Expand Down

0 comments on commit 1cdf202

Please sign in to comment.