Skip to content

Commit

Permalink
don't init linsolve
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed Sep 4, 2024
1 parent 2ac8f4f commit 1752b50
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/OrdinaryDiffEqDifferentiation/src/linsolve_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ function dolinsolve(integrator, linsolve; A = nothing, linu = nothing, b = nothi
end

function wrapprecs(linsolver, W, weight)
if isnothing(linsolver)
linsolver = LinearSolve.LUFactorization()
end
if hasproperty(linsolver, :precs) && isnothing(linsolver.precs)
Pl = LinearSolve.InvPreconditioner(Diagonal(_vec(weight)))
Pr = Diagonal(_vec(weight))
Expand Down

0 comments on commit 1752b50

Please sign in to comment.