Skip to content

Commit 300ed35

Browse files
committed
test: debug MHE estimation tests
1 parent 9a0aadf commit 300ed35

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ModelPredictiveControl"
22
uuid = "61f9bdb8-6ae4-484a-811f-bbf86720c31c"
33
authors = ["Francis Gagnon"]
4-
version = "1.3.1"
4+
version = "1.3.2"
55

66
[deps]
77
ControlSystemsBase = "aaaaaaaa-a6ca-5380-bf3e-84a91bcd477e"

test/test_state_estim.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -935,12 +935,12 @@ end
935935
preparestate!(mhe2, [50, 30], [5])
936936
updatestate!(mhe2, [11, 52], [50, 30], [5])
937937
end
938-
@test mhe2([5]) [50, 30] atol=1e-3
938+
@test mhe2([5]) [50, 30] atol=1e-2
939939
for i in 1:40
940940
preparestate!(mhe2, [51, 32], [5])
941941
updatestate!(mhe2, [10, 50], [51, 32], [5])
942942
end
943-
@test mhe2([5]) [51, 32] atol=1e-3
943+
@test mhe2([5]) [51, 32] atol=1e-2
944944
linmodel3 = LinModel{Float32}(0.5*ones(1,1), ones(1,1), ones(1,1), zeros(1,0), zeros(1,0), 1.0)
945945
mhe3 = MovingHorizonEstimator(linmodel3, He=1)
946946
preparestate!(mhe3, [0])

0 commit comments

Comments
 (0)