Skip to content

Commit 364f3fd

Browse files
committed
scope fix
1 parent 834ffa4 commit 364f3fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ res2 = lsim(P, ctrl, Tf)
9797
pid_internal = DiscretePID(; K = 1.0*K, Ts, Ti, Td = 0.8*Td)
9898
pid_external = DiscretePID(; K = 1.0*K, Ts, Ti, Td = 0.8*Td)
9999

100-
yold_ext = 0.0
100+
global yold_ext = 0.0
101101
ctrl_internal = function(x, t)
102102
y = (P.C*x)[]
103103
d = 1

0 commit comments

Comments
 (0)