Skip to content

Commit

Permalink
Fix Vararg deprecation warning (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored Dec 17, 2023
1 parent 6d52fd8 commit 5892c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LabeledArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Base.@propagate_inbounds function Base.getindex(x::LabeledArrOrSubOrReshape{V,N}
end

Base.@propagate_inbounds function Base.getindex(x::LabeledArrOrSubOrReshape{V,N},
I::Vararg{<:Integer,N}) where {V,N}
I::Vararg{Integer,N}) where {V,N}
val = refarray(x)[I...]
return LabeledValue(val, getvaluelabels(x))
end
Expand Down

0 comments on commit 5892c56

Please sign in to comment.