Skip to content

Commit

Permalink
fix: use split = false system for remake autodiff tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Oct 7, 2024
1 parent b064f2b commit 183fe31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/downstream/remake_autodiff.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ function lotka_volterra(; name = name)
end

@named lotka_volterra_sys = lotka_volterra()
lotka_volterra_sys = structural_simplify(lotka_volterra_sys)
lotka_volterra_sys = structural_simplify(lotka_volterra_sys, split = false)
prob = ODEProblem(lotka_volterra_sys, [], (0.0, 10.0), [])
sol = solve(prob, Tsit5(), reltol = 1e-6, abstol = 1e-6)
u0 = [1.0 1.0]
p = [1.5 1.0 1.0 1.0]
u0 = [1.0, 1.0]
p = [1.5, 1.0, 1.0, 1.0]

function sum_of_solution(u0, p)
_prob = remake(prob, u0 = u0, p = p)
Expand Down

0 comments on commit 183fe31

Please sign in to comment.