From e52026743c02e2be17e121f17f72366b90e83187 Mon Sep 17 00:00:00 2001 From: Oscar Smith Date: Tue, 30 Jul 2024 11:30:19 -0400 Subject: [PATCH] delete optimization --- ext/ArrayInterfaceStaticArraysCoreExt.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ext/ArrayInterfaceStaticArraysCoreExt.jl b/ext/ArrayInterfaceStaticArraysCoreExt.jl index 774ecd8e..7b33dc80 100644 --- a/ext/ArrayInterfaceStaticArraysCoreExt.jl +++ b/ext/ArrayInterfaceStaticArraysCoreExt.jl @@ -21,10 +21,6 @@ ArrayInterface.can_setindex(::Type{<:StaticArray}) = false ArrayInterface.can_setindex(::Type{<:MArray}) = true ArrayInterface.buffer(A::Union{SArray, MArray}) = getfield(A, :data) -function ArrayInterface.lu_instance(A::SMatrix{N,N}) where {N} - LU(LowerTriangular(A), UpperTriangular(A), SVector{N}(1:N)) -end - function ArrayInterface.lu_instance(A::StaticMatrix{N,N}) where {N} lu(one(A)) end