From 444d69f8967c2b3f3210a1d012f80d0c812befa9 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Thu, 7 Apr 2022 06:51:53 -0400 Subject: [PATCH] Update src/solve_function.jl --- src/solve_function.jl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/solve_function.jl b/src/solve_function.jl index 952ad99f5..e3c01947a 100644 --- a/src/solve_function.jl +++ b/src/solve_function.jl @@ -1,10 +1,6 @@ # -function DEFAULT_LINEAR_SOLVE(A,b,u,p,newA,Pl,Pr,solverdata;kwargs...) - solve(LinearProblem(A, b; u0=u); p=p, kwargs...).u -end - -Base.@kwdef struct LinearSolveFunction{F} <: AbstractSolveFunction - solve_func::F = DEFAULT_LINEAR_SOLVE +struct LinearSolveFunction{F} <: AbstractSolveFunction + solve_func::F end function SciMLBase.solve(cache::LinearCache, alg::LinearSolveFunction,