Added tag on auxiliary variable for PAC/VAR expectations.
parent
cb97ed8081
commit
39041009ef
|
@ -199,8 +199,8 @@ function printlistofvariables(fid, kind, list, DynareModel)
|
||||||
tags = sprintf('(%s)', tags(3:end));
|
tags = sprintf('(%s)', tags(3:end));
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if isequal(list{i}(1:16), 'pac_expectation_') || isequal(list{i}(1:16), 'var_expectation_')
|
if isequal(kind, 'endo') && (isequal(list{i}(1:16), 'pac_expectation_') || isequal(list{i}(1:16), 'var_expectation_'))
|
||||||
tags = '';
|
tags = sprintf('(expectation=''%s'')', list{i}(1:3));
|
||||||
else
|
else
|
||||||
error('Unknown variable.')
|
error('Unknown variable.')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue