Avoid infinite loop.

time-shift
Stéphane Adjemian (Charybdis) 2019-02-28 09:24:12 +01:00
parent 8e60ded1bd
commit 1775869bbd
Signed by untrusted user who does not match committer: stepan
GPG Key ID: A6D44CB9C64CE77B
1 changed files with 4 additions and 0 deletions

View File

@ -207,6 +207,8 @@ for i=1:maxlag
transformations = [transformations, 'log'];
variable = M_.endo_names{M_.aux_vars(ida).orig_index};
ida = get_aux_variable_id(variable);
else
error('This case is not implemented.')
end
end
switch expectationmodelkind
@ -332,6 +334,8 @@ for i=1:maxlag
transformations = [transformations, 'log'];
variable = M_.endo_names{M_.aux_vars(ida).orig_index};
ida = get_aux_variable_id(variable);
else
error('This case is not implemented.')
end
end
switch expectationmodelkind