Open
Description
ArrayInterface shows Diagonal{T,<:SVector}
as supporting setindex!
, which is clearly not true:
using ArrayInterface, ArrayInterfaceStaticArrays, LinearAlgebra, StaticArrays
D = Diagonal(SVector(1.0, 2.0, 3.0))
ArrayInterface.can_setindex(D)
# returns true -- should be false
Should this be fixed somehow? Or is it a misunderstanding of ArrayInterface to think that this would give the correct answer?
Metadata
Metadata
Assignees
Labels
No labels