Skip to content

Commit

Permalink
fix bug in Vector(::SymmetryVector)
Browse files Browse the repository at this point in the history
  • Loading branch information
thchr committed Sep 17, 2024
1 parent 2b070f9 commit d8f87be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types_symmetryvectors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function Base.Vector(n::SymmetryVector)
i = 1
@inbounds for mults in multiplicities(n)
N = length(mults)
nv[i:N] .= mults
nv[i:i+N-1] .= mults
i += N
end
nv[end] = occupation(n)
Expand Down

0 comments on commit d8f87be

Please sign in to comment.