Skip to content

Commit e842e74

Browse files
authored
don't specialize IndexStyle for RaggedMatrix (#408)
1 parent ee84487 commit e842e74

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/LinearAlgebra/RaggedMatrix.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ Base.size(A::RaggedMatrix) = (A.m,length(A.cols)-1)
3737
colstart(A::RaggedMatrix,j::Integer) = 1
3838
colstop(A::RaggedMatrix,j::Integer) = min(A.cols[j+1]-A.cols[j],size(A,1))
3939

40-
Base.IndexStyle(::Type{RM}) where {RM<:RaggedMatrix} = IndexCartesian()
41-
4240
@inline function incol(A, k, j, ind = A.cols[j]+k-1)
4341
ind < A.cols[j+1]
4442
end

0 commit comments

Comments
 (0)