Skip to content

Commit

Permalink
fixup! test: update tests for MTKv9
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Jan 29, 2024
1 parent d3666ec commit 4f70a46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/downstream/solution_interface.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using ModelingToolkit, OrdinaryDiffEq, RecursiveArrayTools, StochasticDiffEq, Test
# compat for MTKv8 and v9
unknowns = isdefined(ModelingToolkit.states) ? ModelingToolkit.states : ModelingToolkit.unknowns
unknowns = isdefined(ModelingToolkit, states) ? ModelingToolkit.states : ModelingToolkit.unknowns

### Tests on non-layered model (everything should work). ###

Expand Down
2 changes: 1 addition & 1 deletion test/downstream/symbol_indexing.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using ModelingToolkit, OrdinaryDiffEq, RecursiveArrayTools, SymbolicIndexingInterface, Test
using Optimization, OptimizationOptimJL
# compat for MTKv8 and v9
unknowns = isdefined(ModelingToolkit.states) ? ModelingToolkit.states : ModelingToolkit.unknowns
unknowns = isdefined(ModelingToolkit, states) ? ModelingToolkit.states : ModelingToolkit.unknowns

@parameters t σ ρ β
@variables x(t) y(t) z(t)
Expand Down

0 comments on commit 4f70a46

Please sign in to comment.