Skip to content

Commit

Permalink
Update symbol_indexing.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Feb 24, 2024
1 parent 45eb2ee commit 0241f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/downstream/symbol_indexing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include("../testutils.jl")
@parameters τ
@variables RHS(t)
@mtkbuild fol_separate = ODESystem([RHS ~ (1 - x) / τ,
D(x) ~ RHS])
D(x) ~ RHS],t)

prob = ODEProblem(fol_separate, [x => 0.0], (0.0, 10.0), [τ => 3.0])
sol = solve(prob, Tsit5())
Expand Down Expand Up @@ -41,7 +41,7 @@ test_tables_interface(sol_new, [:timestamp, Symbol("x(t)")], hcat(sol_new[t], so
@variables y(t)
@parameters α β γ δ
@named lv = ODESystem([D(x) ~ α * x - β * x * y,
D(y) ~ δ * x * y - γ * x * y])
D(y) ~ δ * x * y - γ * x * y],t)

prob = ODEProblem(lv, [x => 1.0, y => 1.0], (0.0, 10.0),
=> 1.5, β => 1.0, γ => 3.0, δ => 1.0])
Expand Down

0 comments on commit 0241f53

Please sign in to comment.