Skip to content

Commit

Permalink
Removed extraneous IndexStyle definition
Browse files Browse the repository at this point in the history
  • Loading branch information
brainandforce committed Dec 8, 2023
1 parent 5441714 commit fff9f08
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/vectors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ function Base.:(==)(u::ShiftVector{S1}, v::ShiftVector{S2}) where {S1,S2}
return (S1 === S2 && u.vector == v.vector && u.weight == v.weight)
end

Base.IndexStyle(::Type{<:ShiftVector}) = IndexLinear()
Base.getindex(s::ShiftVector, i::Int) = s.vector[i]

Base.Tuple(s::ShiftVector) = Tuple(s.vector)
Expand Down

0 comments on commit fff9f08

Please sign in to comment.