Bug fix related to missing aux variables if fourth argument is empty.
parent
a6ea878627
commit
04b0e8aaa1
|
@ -99,7 +99,7 @@ end
|
||||||
|
|
||||||
% Check fourth argument. If empty return the paths for all the endogenous variables.
|
% Check fourth argument. If empty return the paths for all the endogenous variables.
|
||||||
if isempty(listofvariables)
|
if isempty(listofvariables)
|
||||||
listofvariables = M_.endo_names;
|
listofvariables = M_.endo_names(1:M_.orig_endo_nbr);
|
||||||
end
|
end
|
||||||
if ~iscell(listofvariables)
|
if ~iscell(listofvariables)
|
||||||
error('Fourth input argument has to be a cell of row char arrays or an empty object.')
|
error('Fourth input argument has to be a cell of row char arrays or an empty object.')
|
||||||
|
|
Loading…
Reference in New Issue