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 fb1189a commit dc954e8Copy full SHA for dc954e8
test/odesystem.jl
@@ -1202,6 +1202,18 @@ end
1202
@variables y(x)
1203
@test_nowarn @named sys = ODESystem([y ~ 0], x)
1204
1205
+ # the same, but with @mtkmodel
1206
+ @independent_variables x
1207
+ @mtkmodel MyModel begin
1208
+ @variables begin
1209
+ y(x)
1210
+ end
1211
+ @equations begin
1212
+ y ~ 0
1213
1214
1215
+ @test_nowarn @mtkbuild sys = MyModel()
1216
+
1217
@variables x y(x)
1218
@test_logs (:warn,) @named sys = ODESystem([y ~ 0], x)
1219
0 commit comments