We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf170ff commit dbfd91bCopy full SHA for dbfd91b
2 files changed
lib/ModelingToolkitBase/test/odesystem.jl
@@ -777,7 +777,7 @@ if @isdefined(ModelingToolkit)
777
## double integrator
778
779
function double_int(; name)
780
- @variables u(t) x(t) v(t)
+ @variables u(t) x(t) [state_priority = 1] v(t) [state_priority = 1]
781
782
eqs = [D(x) ~ v, D(v) ~ u]
783
return System(eqs, t; name)
test/structural_transformation/tearing.jl
@@ -154,7 +154,7 @@ newsys = tearing(nlsys)
154
###
155
using ModelingToolkit, OrdinaryDiffEq, BenchmarkTools
156
@parameters p
157
-@variables x(t) y(t) z(t)
+@variables x(t) [state_priority = 1] y(t) z(t)
158
eqs = [
159
D(x) ~ z * h
160
0 ~ x - y
0 commit comments