Skip to content

Commit

Permalink
test: update compat, fix tests for MTKv9
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Feb 26, 2024
1 parent cd65806 commit 6d25dc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ LinearAlgebra = "1.10"
Logging = "1.10"
Makie = "0.20"
Markdown = "1.10"
ModelingToolkit = "8.75"
ModelingToolkit = "8.75, 9"
PartialFunctions = "1.1"
PrecompileTools = "1.2"
Preferences = "1.3"
Expand Down
3 changes: 2 additions & 1 deletion test/traits.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ using ModelingToolkit, OrdinaryDiffEq, DataFrames
@variables t x(t)=1
D = Differential(t)
eqs = [D(x) ~ -x]
@named sys = ODESystem(eqs)
@named sys = ODESystem(eqs, t)
sys = complete(sys)
prob = ODEProblem(sys)
sol = solve(prob, Tsit5(), tspan = (0.0, 1.0))
df = DataFrame(sol)
Expand Down

0 comments on commit 6d25dc2

Please sign in to comment.