From afd33f218908dcc35d467002fbed212ea2b63aca Mon Sep 17 00:00:00 2001 From: Chris Elrod Date: Sun, 26 Nov 2023 06:03:59 -0500 Subject: [PATCH] Lie and say we're DenseArrays because that's probably less broken than hitting fallback methods. --- Project.toml | 2 +- src/ptr_array.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index f15253e..fe85dcb 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "StrideArraysCore" uuid = "7792a7ef-975c-4747-a70f-980b88e8d1da" authors = ["Chris Elrod and contributors"] -version = "0.5.1" +version = "0.5.2" [deps] ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" diff --git a/src/ptr_array.jl b/src/ptr_array.jl index d200887..3dcaa9b 100644 --- a/src/ptr_array.jl +++ b/src/ptr_array.jl @@ -189,7 +189,7 @@ abstract type AbstractStrideArray{ S<:Tuple{Vararg{Integer,N}}, X<:Tuple{Vararg{Union{Integer,Nothing,StrideReset},N}}, O<:Tuple{Vararg{Integer,N}} -} <: AbstractArray{T,N} end +} <: DenseArray{T,N} end abstract type AbstractPtrStrideArray{T,N,R,S,X,O} <: AbstractStrideArray{T,N,R,S,X,O} end const AbstractStrideVector{T,R,S,X,O} = AbstractStrideArray{T,1,R,S,X,O}