Open
Description
#src/blocksparsearrayinterface/map.jl
@interface interface::AbstractBlockSparseArrayInterface function Base.map!(
f, a_dest::AbstractArray, a_srcs::AbstractArray...
)
Base.map!
is not compatible with the design of KroneckerMatrix
.
- line 27, indexing a
SparseArraysBase.SparseMatrixDOK{KroneckerMatrix
fails as it tries to callBase.similar(::Type{KroneckerMatrix{...}}, dims::Tuple{Int,Int})
which cannot be defined (there is not enough information in type + size to init aKroneckerMatrix
). - line 39, it calls
iszero
on aSubArray{Float64, 2, KroneckerMatrix}
.iszero
is defined for aKroneckerMatrix
, but the wrapper type prevents the dispatch and the fall back option errors ongetindex