Skip to content

Commit e520267

Browse files
committed
delete optimization
1 parent 83e7dd9 commit e520267

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ext/ArrayInterfaceStaticArraysCoreExt.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ ArrayInterface.can_setindex(::Type{<:StaticArray}) = false
2121
ArrayInterface.can_setindex(::Type{<:MArray}) = true
2222
ArrayInterface.buffer(A::Union{SArray, MArray}) = getfield(A, :data)
2323

24-
function ArrayInterface.lu_instance(A::SMatrix{N,N}) where {N}
25-
LU(LowerTriangular(A), UpperTriangular(A), SVector{N}(1:N))
26-
end
27-
2824
function ArrayInterface.lu_instance(A::StaticMatrix{N,N}) where {N}
2925
lu(one(A))
3026
end

0 commit comments

Comments
 (0)