From 42219b961cc3326c9b5554dd19b0b63b9efb9a44 Mon Sep 17 00:00:00 2001 From: Willow Ahrens Date: Tue, 21 May 2024 16:29:00 -0400 Subject: [PATCH] fix --- src/util/vectors.jl | 2 -- 1 file changed, 2 deletions(-) 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