Skip to content

Commit 7564dc7

Browse files
committed
Generalize definition
1 parent a0e61c4 commit 7564dc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blocksparsearrayinterface/blocksparsearrayinterface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ struct BlockSparseArrayInterface <: AbstractBlockSparseArrayInterface end
100100
error("Not implemented")
101101

102102
@interface ::AbstractBlockSparseArrayInterface function SparseArraysBase.isstored(
103-
a::AnyAbstractBlockSparseArray{<:Any,N}, I::Vararg{Int,N}
103+
a::AbstractArray{<:Any,N}, I::Vararg{Int,N}
104104
) where {N}
105105
bI = BlockIndex(findblockindex.(axes(a), I))
106106
return isstored(blocks_a, bI.I...) && isstored(blocks_a[bI.I...], bI.α...)

0 commit comments

Comments
 (0)