Skip to content

Commit

Permalink
Update src/solve_function.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Apr 7, 2022
1 parent c7d8f03 commit 444d69f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/solve_function.jl
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 444d69f

Please sign in to comment.