Skip to content
Snippets Groups Projects
Verified Commit b714b690 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fix name of PAC expectation's auxiliary variable in cherrypick / MCE.

(cherry picked from commit 47590c92)
parent 69639ffd
Branches
No related tags found
No related merge requests found
...@@ -189,7 +189,7 @@ try ...@@ -189,7 +189,7 @@ try
else else
% MCE version of the PAC equation. % MCE version of the PAC equation.
[rhs, growthneutralitycorrection] = write_pac_mce_expectations(eqtags{i}, ispac.name); [rhs, growthneutralitycorrection] = write_pac_mce_expectations(eqtags{i}, ispac.name);
auxlhs = sprintf('%s_Z', eqtags{i}); auxlhs = M_.endo_names{M_.pac.(ispac.name).mce.z1};
if isempty(growthneutralitycorrection) if isempty(growthneutralitycorrection)
RHS = strrep(RHS, sprintf('pac_expectation(model_name = %s)', ispac.name), auxlhs); RHS = strrep(RHS, sprintf('pac_expectation(model_name = %s)', ispac.name), auxlhs);
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment