diff --git a/matlab/default_option_values.m b/matlab/default_option_values.m
index 9f091098c9f9867bb0e38f604ab988c8ed17004a..899ba5df5d166814fd811552ba2c19e36b4aa037 100644
--- a/matlab/default_option_values.m
+++ b/matlab/default_option_values.m
@@ -287,6 +287,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 383df9c85c823be61e25a3702a151b6f20e609fc..2e18ca8ff584d1ab47658f329ab73ab1c27cdf6f 160000
--- a/matlab/particles
+++ b/matlab/particles
@@ -1 +1 @@
-Subproject commit 383df9c85c823be61e25a3702a151b6f20e609fc
+Subproject commit 2e18ca8ff584d1ab47658f329ab73ab1c27cdf6f