Skip to content

Commit

Permalink
fix it?
Browse files Browse the repository at this point in the history
  • Loading branch information
willow-ahrens committed May 21, 2024
1 parent ee59084 commit e91b15c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/vectors.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Base: @propagate_inbounds

struct PlusOneVector{T} <: AbstractVector{T}
data::AbstractVector{T}
struct PlusOneVector{T, A <: AbstractVector{T}} <: AbstractVector{T}
data::A
end

@propagate_inbounds function Base.getindex(vec::PlusOneVector{T},
Expand Down

0 comments on commit e91b15c

Please sign in to comment.