Added missing aux. variable (PAC/VAR expectation).
parent
e20a3ffa45
commit
d4a1d4b46a
|
@ -193,12 +193,18 @@ function printlistofvariables(fid, kind, list, DynareModel)
|
||||||
if ~isempty(tags)
|
if ~isempty(tags)
|
||||||
tags = sprintf('(%s)', tags(3:end));
|
tags = sprintf('(%s)', tags(3:end));
|
||||||
end
|
end
|
||||||
if isempty(tags)
|
else
|
||||||
vlist = sprintf('%s\n\t%s', vlist, list{i});
|
if isequal(list{i}(1:16), 'pac_expectation_') || isequal(list{i}(1:16), 'var_expectation_')
|
||||||
|
tags = '';
|
||||||
else
|
else
|
||||||
vlist = sprintf('%s\n\t%s %s', vlist, list{i}, tags);
|
error('Unknown variable.')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
if isempty(tags)
|
||||||
|
vlist = sprintf('%s\n\t%s', vlist, list{i});
|
||||||
|
else
|
||||||
|
vlist = sprintf('%s\n\t%s %s', vlist, list{i}, tags);
|
||||||
|
end
|
||||||
end
|
end
|
||||||
fprintf(fid, '%s;', vlist);
|
fprintf(fid, '%s;', vlist);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue