Skip to content

Commit f1a1359

Browse files
authored
Update controlsystem.jl
1 parent b555c15 commit f1a1359

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/controlsystem.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
using ModelingToolkit
22

33
@variables t x(t) v(t) u(t)
4-
@parameters p[1:1]
4+
@parameters p[1:2]
55
@derivatives D'~t
66

77
loss = (4-x)^2 + 2v^2 + u^2
88
eqs = [
9-
D(x) ~ v #- p[2]*x
9+
D(x) ~ v - p[2]*x
1010
D(v) ~ p[1]*u^3 + v
1111
]
1212

0 commit comments

Comments
 (0)