Commit b5d4b405 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Return an error if pruning is used with order>3 in estimation.

parent 031569fa
......@@ -100,7 +100,10 @@ if length(unique(options_.varobs))<length(options_.varobs)
% Check the perturbation order (nonlinear filters with third order perturbation, or higher order, are not yet implemented).
% Check the perturbation order (k order perturbation based nonlinear filters are not yet implemented for k>1).
if options_.order>2 && options_.particle.pruning
error('Higher order nonlinear filters are not compatible with pruning option.')
% analytical derivation is not yet available for kalman_filter_fast
if options_.analytic_derivation && options_.fast_kalman_filter
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment