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 489f8ec commit f57fe6dCopy full SHA for f57fe6d
test/system_construction.jl
@@ -91,6 +91,8 @@ eqs = [_x ~ y/C,
91
D(x) ~ -A*x,
92
D(y) ~ A*x - B*_x]
93
de = DiffEqSystem(eqs,[t],[x,y],Variable[_x],[A,B,C])
94
+de2 = DiffEqSystem(eqs,[t])
95
+test_vars_extraction(de, de2)
96
@test eval(ModelingToolkit.generate_ode_function(de))([0.0,0.0],[1.0,2.0],[1,2,3],0.0) ≈ -1/3
97
98
# Now nonlinear system with only variables
0 commit comments