Skip to content

Commit 8e23672

Browse files
committed
Comments
1 parent e2535b0 commit 8e23672

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/BlockSparseArraysGradedUnitRangesExt/BlockSparseArraysGradedUnitRangesExt.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,16 @@ function Base.getindex(a::Vector, I::AbstractGradedUnitRange)
7777
return getindex_blocksparse(a, I)
7878
end
7979

80-
# Fix ambiguity errors.
80+
# Fix ambiguity error with BlockSparseArrays.jl.
8181
function Base.getindex(
8282
a::AnyAbstractBlockSparseArray,
8383
I1::AbstractGradedUnitRange,
8484
I_rest::AbstractGradedUnitRange...,
8585
)
8686
return getindex_blocksparse(a, I1, I_rest...)
8787
end
88+
89+
# Fix ambiguity error with BlockSparseArrays.jl.
8890
function Base.getindex(
8991
a::AnyAbstractBlockSparseArray{<:Any,2},
9092
I1::AbstractGradedUnitRange,

0 commit comments

Comments
 (0)