From 1b1ca68c4c5b73b9a84e04ab99cf942ebe4f6808 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Wed, 12 Jan 2022 10:56:04 +0100
Subject: [PATCH] online auxiliary filter: add option to set termination
 condition of loop

(cherry picked from commit 958dcf7b48d24c6ad07a54a58f9019a10b6eee3a)
---
 matlab/default_option_values.m | 1 +
 matlab/particles               | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/matlab/default_option_values.m b/matlab/default_option_values.m
index b4611c61b5..15bd4f77ab 100644
--- a/matlab/default_option_values.m
+++ b/matlab/default_option_values.m
@@ -286,6 +286,7 @@ particle.mixture_structural_shocks = 1 ;
 particle.mixture_measurement_shocks = 1 ;
 % Online approach
 particle.liu_west_delta = 0.99 ;
+particle.liu_west_max_resampling_tries = 5000;
 % Options for setting the weights in conditional particle filters.
 particle.cpf_weights_method.amisanotristani = true;
 particle.cpf_weights_method.murrayjonesparslow = false;
diff --git a/matlab/particles b/matlab/particles
index 383df9c85c..2e18ca8ff5 160000
--- a/matlab/particles
+++ b/matlab/particles
@@ -1 +1 @@
-Subproject commit 383df9c85c823be61e25a3702a151b6f20e609fc
+Subproject commit 2e18ca8ff584d1ab47658f329ab73ab1c27cdf6f
-- 
GitLab