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

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

parent 1f0422b6
Branches
Tags
No related merge requests found
Pipeline #10304 passed
......@@ -189,7 +189,7 @@ try
else
% MCE version of the PAC equation.
[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)
RHS = strrep(RHS, sprintf('pac_expectation(model_name = %s)', ispac.name), auxlhs);
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment