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 a450804 commit c190ed8Copy full SHA for c190ed8
test/odesystem.jl
@@ -387,3 +387,18 @@ let
387
sys = ODESystem(D.(x) .~ x)
388
@test_nowarn structural_simplify(sys)
389
end
390
+
391
+using Symbolics: unwrap
392
+using LinearAlgebra
393
+@variables t
394
+sts = @variables x[1:3](t) y(t)
395
+ps = @parameters p[1:3]
396
+D = Differential(t)
397
+eqs = [
398
+ collect(D(x) ~ x)
399
+ D(y) ~ norm(x)*y
400
+ ]
401
+sys = ODESystem(eqs, t, [sts...;], [ps...;])
402
+@test isequal(@nonamespace(sys.x), unwrap(x))
403
+@test isequal(@nonamespace(sys.y), unwrap(y))
404
+@test isequal(@nonamespace(sys.p), unwrap(p))
0 commit comments