Skip to content
Snippets Groups Projects
Commit 7132cb59 authored by Marco Ratto's avatar Marco Ratto
Browse files

bug fix for init variables to be defined only with occbin PKF

parent 50aa20c7
Branches
Tags
1 merge request!2123occbin enhancements and bug fixes
......@@ -145,10 +145,10 @@ while notsteady && t<=last
if ~(isqvec)
QQ = R*Q*transpose(R); % Variance of R times the vector of structural innovations.
end
end
if t==1
Pinit = P1(:,:,1);
ainit = a1(:,1);
if t==1
Pinit = P1(:,:,1);
ainit = a1(:,1);
end
end
s = t-start+1;
d_index = data_index{t};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment