diff --git a/src/util/vectors.jl b/src/util/vectors.jl index 65d350e08..a3c398a8f 100644 --- a/src/util/vectors.jl +++ b/src/util/vectors.jl @@ -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