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

Bug fix related to missing aux variables if fourth argument is empty.

parent a6ea8786
Branches
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ end
% Check fourth argument. If empty return the paths for all the endogenous variables.
if isempty(listofvariables)
listofvariables = M_.endo_names;
listofvariables = M_.endo_names(1:M_.orig_endo_nbr);
end
if ~iscell(listofvariables)
error('Fourth input argument has to be a cell of row char arrays or an empty object.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment