Added tag on auxiliary variable for PAC/VAR expectations.

time-shift
Stéphane Adjemian (Charybdis) 2019-03-28 11:19:38 +01:00
parent cb97ed8081
commit 39041009ef
Signed by untrusted user who does not match committer: stepan
GPG Key ID: A6D44CB9C64CE77B
1 changed files with 2 additions and 2 deletions

View File

@ -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