Skip to content

Commit

Permalink
Update src/BitStringAddresses/occupationnumberfs.jl
Browse files Browse the repository at this point in the history
Co-authored-by: mtsch <matijacufar@gmail.com>
  • Loading branch information
joachimbrand and mtsch authored Jan 16, 2024
1 parent 21d74a2 commit a689e70
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/BitStringAddresses/occupationnumberfs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,8 @@ julia> num_particles(ofs)
6
```
"""
struct OccupationNumberFS{M,T} <: SingleComponentFockAddress{missing,M}
struct OccupationNumberFS{M,T<:Unsigned} <: SingleComponentFockAddress{missing,M}
onr::SVector{M,T}

function OccupationNumberFS(onr::SVector{M,T}) where {M,T<:Unsigned}
new{M,T}(onr)
end
end

function OccupationNumberFS{M,T}(args...) where {M,T}
Expand Down

0 comments on commit a689e70

Please sign in to comment.