Skip to content

Commit

Permalink
Fix depwarn
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod committed Nov 9, 2021
1 parent f1259ba commit 88ea7f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StrideArraysCore"
uuid = "7792a7ef-975c-4747-a70f-980b88e8d1da"
authors = ["Chris Elrod <[email protected]> and contributors"]
version = "0.2.8"
version = "0.2.9"

[deps]
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Expand Down
2 changes: 1 addition & 1 deletion src/views.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ end
@generated function zview(A::PtrArray{S,D,T,N,C,B,R,X,O}, i::Vararg{Union{Integer,AbstractRange,Colon},K}) where {K,S,D,T,N,C,B,R,X,O}
view_quote(i, K, S, D, T, N, C, B, R, X, O, true)
end
@inline Base.SubArray(A::AbstractStrideArray, i::Tuple{Vararg{<:Union{Integer,AbstractRange,Colon},K}}) where {K} = view(A, i...)
@inline Base.SubArray(A::AbstractStrideArray, i::Tuple{Vararg{Union{Integer,AbstractRange,Colon},K}}) where {K} = view(A, i...)

@inline Base.vec(A::PtrArray{S,D,T,1,C,0}) where {S,D,T,C} = A
@inline function Base.vec(A::PtrArray{S,D,T,N,C,0}) where {S,D,T,N,C}
Expand Down

2 comments on commit 88ea7f3

@chriselrod
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/48460

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.9 -m "<description of version>" 88ea7f35fe4dfabeaa9f961433c9915e7599946c
git push origin v0.2.9

Please sign in to comment.