Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
willow-ahrens committed May 21, 2024
1 parent a5647d5 commit 42219b9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/util/vectors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ struct PlusOneVector{T, A <: AbstractVector{T}} <: AbstractVector{T}
data::A
end

PlusOneVector(data::AbstractVector{T}) where {T} = PlusOneVector{T, typeof(data)}(data)

@propagate_inbounds function Base.getindex(vec::PlusOneVector{T},
index::Int) where {T}
return vec.data[index] + 0x01
Expand Down

0 comments on commit 42219b9

Please sign in to comment.