Skip to content

Commit a0b027a

Browse files
committed
test: silence false positive linter in VS code
1 parent 47c908d commit a0b027a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/3_test_predictive_control.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,8 +1058,8 @@ end
10581058
@testitem "NonLinMPC and ManualEstimator v.s. default" setup=[SetupMPCtests] begin
10591059
using .SetupMPCtests, ControlSystemsBase, LinearAlgebra
10601060
linmodel = LinModel(tf(5, [200, 1]), 300.0)
1061-
f(x,u,_,p) = p.A*x + p.Bu*u
1062-
h(x,_,p) = p.C*x
1061+
f = (x,u,_,p) -> p.A*x + p.Bu*u
1062+
h = (x,_,p) -> p.C*x
10631063
model = setop!(NonLinModel(f, h, 300.0, 1, 1, 1; solver=nothing, p=linmodel), yop=[10])
10641064
r = [15]
10651065
outdist = [5]

0 commit comments

Comments
 (0)