Skip to content
Snippets Groups Projects
Commit 85989df0 authored by MichelJuillard's avatar MichelJuillard
Browse files

estimation initialization: minor bug correction when filtered_vars is requested

parent af6a3309
No related branches found
No related tags found
No related merge requests found
......@@ -98,13 +98,13 @@ if options_.prefilter == 1
end
%% Set options related to filtered variables.
if options_.filtered_vars ~= 0 && isempty(options_.filter_step_ahead),
if ~isequal(options_.filtered_vars,0) && isempty(options_.filter_step_ahead)
options_.filter_step_ahead = 1;
end
if options_.filtered_vars ~= 0 && options_.filter_step_ahead == 0,
if ~isequal(options_.filtered_vars,0) && isequal(options_.filter_step_ahead,0)
options_.filter_step_ahead = 1;
end
if options_.filter_step_ahead ~= 0
if ~isequal(options_.filter_step_ahead,0)
options_.nk = max(options_.filter_step_ahead);
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment