From b7f0468f1145ecddb7f7ab568832bbf71daffc82 Mon Sep 17 00:00:00 2001 From: Oscar Smith Date: Sun, 1 Sep 2024 17:17:50 -0400 Subject: [PATCH] don't init linsolve --- lib/OrdinaryDiffEqDifferentiation/src/linsolve_utils.jl | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/OrdinaryDiffEqDifferentiation/src/linsolve_utils.jl b/lib/OrdinaryDiffEqDifferentiation/src/linsolve_utils.jl index 4e77d66fc9..82482a530a 100644 --- a/lib/OrdinaryDiffEqDifferentiation/src/linsolve_utils.jl +++ b/lib/OrdinaryDiffEqDifferentiation/src/linsolve_utils.jl @@ -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))