From 11c1a4405949727fbed2028bd6777bdd530f4cd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Argos=29?= <stepan@adjemian.eu> Date: Wed, 9 Apr 2025 16:31:11 +0200 Subject: [PATCH] Bug fix (unknown variable). By the way, pruning is missing in this filter... --- matlab/nonlinear-filters/nonlinear_kalman_filter.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/nonlinear-filters/nonlinear_kalman_filter.m b/matlab/nonlinear-filters/nonlinear_kalman_filter.m index f103ceff2c..7812f6c1e1 100644 --- a/matlab/nonlinear-filters/nonlinear_kalman_filter.m +++ b/matlab/nonlinear-filters/nonlinear_kalman_filter.m @@ -145,7 +145,7 @@ for t=1:sample_size case 2 tmp = local_state_space_iteration_2(yhat,epsilon,ghx,ghu,constant,ghxx,ghuu,ghxu,ThreadsOptions.local_state_space_iteration_2); case 3 - tmp = local_state_space_iteration_3(yhat, epsilon, ghx, ghu, ghxx, ghuu, ghxu, ghs2, ghxxx, ghuuu, ghxxu, ghxuu, ghxss, ghuss, steadystate, ThreadsOptions.local_state_space_iteration_3, pruning); + tmp = local_state_space_iteration_3(yhat, epsilon, ghx, ghu, ghxx, ghuu, ghxu, ghs2, ghxxx, ghuuu, ghxxu, ghxuu, ghxss, ghuss, steadystate, ThreadsOptions.local_state_space_iteration_3, ParticleOptions.pruning); otherwise error('Order > 3: use_k_order_solver should be set to true'); end -- GitLab