Skip to content

Commit 9999044

Browse files
Fix 32-bit OS compatibility with Krylov wrappers
Fixes https://github.com/SciML/DelayDiffEq.jl/actions/runs/7455784891/job/20285397505?pr=279 downstream
1 parent 50bc8e1 commit 9999044

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/iterative_wrappers.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,15 @@ function init_cacheval(alg::KrylovJL, A, b, u, Pl, Pr, maxiters::Int, abstol, re
181181
alg.KrylovAlg === Krylov.gpmr! ||
182182
alg.KrylovAlg === Krylov.fom!)
183183
if A isa SparseMatrixCSC
184-
KS(SparseMatrixCSC(0, 0, [1], Int64[], eltype(A)[]), eltype(b)[], 1)
184+
KS(SparseMatrixCSC(0, 0, [1], Int[], eltype(A)[]), eltype(b)[], 1)
185185
elseif A isa Matrix
186186
KS(Matrix{eltype(A)}(undef, 0, 0), eltype(b)[], 1)
187187
else
188188
KS(A, b, 1)
189189
end
190190
else
191191
if A isa SparseMatrixCSC
192-
KS(SparseMatrixCSC(0, 0, [1], Int64[], eltype(A)[]), eltype(b)[])
192+
KS(SparseMatrixCSC(0, 0, [1], Int[], eltype(A)[]), eltype(b)[])
193193
elseif A isa Matrix
194194
KS(Matrix{eltype(A)}(undef, 0, 0), eltype(b)[])
195195
else

0 commit comments

Comments
 (0)