Skip to content

Commit 335900a

Browse files
committed
Switch Int64 -> Int
1 parent 7762340 commit 335900a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stationary_sparse.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ struct DiagonalIndices{Tv, Ti <: Integer}
1212
diag = Vector{Ti}(undef, A.n)
1313

1414
for col = 1 : A.n
15-
r1 = Int64(A.colptr[col])
16-
r2 = Int64(A.colptr[col + 1] - 1)
15+
r1 = Int(A.colptr[col])
16+
r2 = Int(A.colptr[col + 1] - 1)
1717
r1 = searchsortedfirst(A.rowval, col, r1, r2, Base.Order.Forward)
1818
if r1 > r2 || A.rowval[r1] != col || iszero(A.nzval[r1])
1919
throw(LinearAlgebra.SingularException(col))

0 commit comments

Comments
 (0)