Remove debugging display (growth neutrality correction).

(cherry picked from commit 238b66dfe0fd0bcb56becaf1ed96be800d90ba40)
pac-components
Stéphane Adjemian (Ryûk) 2021-11-06 11:14:03 +01:00
parent 0c9eb182c4
commit c38d58b56f
Signed by: stepan
GPG Key ID: 295C1FE89E17EB3C
1 changed files with 0 additions and 2 deletions

View File

@ -103,7 +103,6 @@ for e=1:number_of_pac_eq
cc = cc - tmp0;
end
if gamma<1
equations.(eqtag).('non_optimizing_behaviour')
if isfield(equations.(eqtag), 'non_optimizing_behaviour') && isfield(equations.(eqtag).non_optimizing_behaviour, 'params')
% Exogenous variables are present in the 1-λ part (rule of thumb agents).
tmp0 = 0;
@ -138,7 +137,6 @@ for e=1:number_of_pac_eq
tmp1 = tmp1 + equations.(eqtag).additive.scaling_factor(i)*equations.(eqtag).additive.params(i)*equations.(eqtag).additive.bgp{i};
end
end
cc
cc = cc - tmp0/gamma;
ll = ll - tmp1/gamma; % TODO: ll should be added as a constant in the PAC equation (under the λ part) when unrolling pac_expectation.
end