Skip to content

Commit

Permalink
fix jacvec
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed Oct 11, 2024
1 parent 2fc40e5 commit 1b85969
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/common_interface/jacobians.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ 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),
SciMLBase.NullParameters()))
jac_prototype = JacVec(Lotka, ones(2), SciMLBase.NullParameters(), 0.0))

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 1b85969

Please sign in to comment.