Skip to content

Commit b0f1ddc

Browse files
Fix UMFPACK fallback choice
1 parent 0c2ff4a commit b0f1ddc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ext/LinearSolveSparseArraysExt.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ function LinearSolve.init_cacheval(
8787
nothing
8888
end
8989

90+
function LinearSolve.init_cacheval(
91+
alg::Union{LUFactorization, GenericLUFactorization}, A::AbstractSparseArray{Float64, Int}, b, u,
92+
Pl, Pr,
93+
maxiters::Int, abstol, reltol,
94+
verbose::Bool, assumptions::OperatorAssumptions)
95+
PREALLOCATED_UMFPACK
96+
end
97+
9098
function LinearSolve.init_cacheval(
9199
alg::UMFPACKFactorization, A::AbstractSparseArray{Float64, Int}, b, u, Pl, Pr,
92100
maxiters::Int, abstol,

0 commit comments

Comments
 (0)