Skip to content

Commit 9b96078

Browse files
test: use split = false system for remake autodiff tests
1 parent b064f2b commit 9b96078

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/downstream/remake_autodiff.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ function lotka_volterra(; name = name)
1414
end
1515

1616
@named lotka_volterra_sys = lotka_volterra()
17-
lotka_volterra_sys = structural_simplify(lotka_volterra_sys)
17+
lotka_volterra_sys = structural_simplify(lotka_volterra_sys, split = false)
1818
prob = ODEProblem(lotka_volterra_sys, [], (0.0, 10.0), [])
1919
sol = solve(prob, Tsit5(), reltol = 1e-6, abstol = 1e-6)
20-
u0 = [1.0 1.0]
21-
p = [1.5 1.0 1.0 1.0]
20+
u0 = [1.0, 1.0]
21+
p = [1.5, 1.0, 1.0, 1.0]
2222

2323
function sum_of_solution(u0, p)
2424
_prob = remake(prob, u0 = u0, p = p)

0 commit comments

Comments
 (0)