Fixed import of tags on exogenous variables.
parent
fb3335f191
commit
2201c4e745
|
@ -147,7 +147,11 @@ xlist=[xlist(idx,1) xlist(idx,2)]; % We do not test that the tags are the same
|
|||
elist = elist(i1,:);
|
||||
|
||||
% Remove endogenous variables from list of exogenous variables (if any).
|
||||
xlist = setdiff(xlist, elist);
|
||||
xlist1 = xlist(:,1);
|
||||
xlist2 = xlist(:,2);
|
||||
[xlist1, id] = setdiff(xlist1, elist(:,1));
|
||||
xlist2 = xlist2(id);
|
||||
xlist = [xlist1, xlist2];
|
||||
|
||||
% Print all cherry-picked models in one mod-file.
|
||||
[filepath, filename, fileext] = fileparts(ofile);
|
||||
|
|
Loading…
Reference in New Issue