diff --git a/lib/OrdinaryDiffEqDifferentiation/src/linsolve_utils.jl b/lib/OrdinaryDiffEqDifferentiation/src/linsolve_utils.jl index caec0cb18b..0c11915a49 100644 --- a/lib/OrdinaryDiffEqDifferentiation/src/linsolve_utils.jl +++ b/lib/OrdinaryDiffEqDifferentiation/src/linsolve_utils.jl @@ -38,11 +38,9 @@ function dolinsolve(integrator, linsolve; A = nothing, linu = nothing, b = nothi end #for backward compat delete soon -function wrapprecs(PL, PR, weight, u) +function wrapprecs(_Pl, _Pr, weight, u) Pl = _Pl === nothing ? SciMLOperators.IdentityOperator(length(u)) : _Pl - return linsolver Pr = _Pr === nothing ? SciMLOperators.IdentityOperator(length(u)) : _Pr - end Pl, Pr end function wrapprecs(linsolver, W, weight)