Skip to content
Snippets Groups Projects
Commit 307d5d5d authored by Ferhat Mihoubi's avatar Ferhat Mihoubi
Browse files

Initializes the s variable

parent 4488357f
Branches
No related tags found
No related merge requests found
...@@ -83,7 +83,8 @@ LIK = Inf; % Default value of the log likelihood. ...@@ -83,7 +83,8 @@ LIK = Inf; % Default value of the log likelihood.
oldK = Inf; oldK = Inf;
notsteady = 1; notsteady = 1;
F_singular = 1; F_singular = 1;
s = 0;
while notsteady & t<=last while notsteady & t<=last
s = t-start+1; s = t-start+1;
d_index = data_index{t}; d_index = data_index{t};
......
...@@ -70,6 +70,7 @@ oldK = Inf; ...@@ -70,6 +70,7 @@ oldK = Inf;
if isequal(H,0) if isequal(H,0)
H = zeros(pp,pp); H = zeros(pp,pp);
end end
s = 0;
while rank(Pinf,kalman_tol) && (t<=last) while rank(Pinf,kalman_tol) && (t<=last)
s = t-start+1; s = t-start+1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment