Skip to content

Commit b7f0468

Browse files
committed
don't init linsolve
1 parent 621d328 commit b7f0468

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/OrdinaryDiffEqDifferentiation/src/linsolve_utils.jl

-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ function dolinsolve(integrator, linsolve; A = nothing, linu = nothing, b = nothi
3838
end
3939

4040
function wrapprecs(linsolver, W, weight)
41-
if isnothing(linsolver)
42-
linsolver = LinearSolve.LUFactorization()
43-
end
4441
if hasproperty(linsolver, :precs) && isnothing(linsolver.precs)
4542
Pl = LinearSolve.InvPreconditioner(Diagonal(_vec(weight)))
4643
Pr = Diagonal(_vec(weight))

0 commit comments

Comments
 (0)