Skip to content

Commit f293787

Browse files
Merge pull request #202 from SciML/ChrisRackauckas-patch-1
Fix UMFPACK no symbolic factorization branch
2 parents 1e8f185 + 13bb58f commit f293787

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/factorization.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ function SciMLBase.solve(cache::LinearCache, alg::UMFPACKFactorization; kwargs..
292292
# Caches the symbolic factorization: https://github.com/JuliaLang/julia/pull/33738
293293
fact = lu!(cache.cacheval, A)
294294
else
295-
fact = do_factorization(alg, A, cache.b, cache.u)
295+
fact = lu(A)
296296
end
297297
cache = set_cacheval(cache, fact)
298298
end

test/basictests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ end
8989
prob1 = LinearProblem(sparse(A1), b1; u0 = x1)
9090
prob2 = LinearProblem(sparse(A2), b2; u0 = x2)
9191
test_interface(UMFPACKFactorization(), prob1, prob2)
92+
test_interface(UMFPACKFactorization(reuse_symbolic = false), prob1, prob2)
9293

9394
# Test that refactoring wrong throws.
9495
cache = SciMLBase.init(prob1, UMFPACKFactorization(); cache_kwargs...) # initialize cache

0 commit comments

Comments
 (0)