Fixed bug in the routine evaluating the (PAC/VAR) expectations.

time-shift
Stéphane Adjemia (Scylla) 2018-12-14 17:29:46 +01:00
parent 38c8462142
commit 2cff485113
Signed by untrusted user who does not match committer: stepan
GPG Key ID: A6D44CB9C64CE77B
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ for i=1:maxlag
end
if isequal(id, 1)
if isequal(expectationmodelkind, 'pac-expectations') && growth_correction
pgrowth = M_.param_names(expectationmodel.growth_neutrality_param_index);
pgrowth = M_.params(expectationmodel.growth_neutrality_param_index);
switch expectationmodel.growth_type
case 'parameter'
vgrowth = M_.param_names{expectationmodel.growth_index};