From 2cff485113bd17f074b325fbe7d7762673796f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemia=20=28Scylla=29?= Date: Fri, 14 Dec 2018 17:29:46 +0100 Subject: [PATCH] Fixed bug in the routine evaluating the (PAC/VAR) expectations. --- matlab/print_expectations.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/print_expectations.m b/matlab/print_expectations.m index 76865642f..d0b1024cd 100644 --- a/matlab/print_expectations.m +++ b/matlab/print_expectations.m @@ -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};