Skip to content

Commit

Permalink
Update test/common_interface/jacobians.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Oct 10, 2024
1 parent 6b02591 commit c15979a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/common_interface/jacobians.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ sol9 = solve(prob, CVODE_BDF(; linear_solver = :KLU))
@test Array(sol9) Array(good_sol)

Lotka_fj = ODEFunction(Lotka;
jac_prototype = JacVec((du, u) -> Lotka(du, u, (), 0.0), ones(2)))
jac_prototype = JacVec((du, u) -> Lotka(du, u, (), 0.0), ones(2)),
SciMLBase.NullParameters())

prob = ODEProblem(Lotka_fj, ones(2), (0.0, 10.0))
sol9 = solve(prob, CVODE_BDF(; linear_solver = :GMRES), saveat = 0.1, abstol = 1e-12,
Expand Down

0 comments on commit c15979a

Please sign in to comment.