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

Fix bug if the PAC target is a transformed variable (e.g. logged variable).

parent 32e93022
Branches
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ betaid = expectationmodel.discount_index;
target = M_.endo_names{targetid};
transformations = {};
if isauxiliary(targetid)
if isauxiliary(target)
ida = get_aux_variable_id(target);
op = 0;
while ida
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment