Merge branch 'model_diag' of git.dynare.org:JohannesPfeifer/dynare

Ref. !2023
fix-tolerance-parameters
Sébastien Villemot 2022-05-05 18:41:34 +02:00
commit a2a90c7e37
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 21 additions and 0 deletions

View File

@ -59,6 +59,27 @@ if options.ramsey_policy
end
problem_dummy=0;
%naming conflict in steady state file
if options.steadystate_flag == 1
if strmatch('ys',M.endo_names,'exact')
disp(['MODEL_DIAGNOSTICS: using the name ys for an endogenous variable will typically conflict with the internal naming in user-defined steady state files.'])
problem_dummy=1;
end
if strmatch('ys',M.param_names,'exact')
disp(['MODEL_DIAGNOSTICS: using the name ys for a parameter will typically conflict with the internal naming in user-defined steady state files.'])
problem_dummy=1;
end
if strmatch('M_',M.endo_names,'exact')
disp(['MODEL_DIAGNOSTICS: using the name M_ for an endogenous variable will typically conflict with the internal naming in user-defined steady state files.'])
problem_dummy=1;
end
if strmatch('M_',M.param_names,'exact')
disp(['MODEL_DIAGNOSTICS: using the name M_ for a parameter will typically conflict with the internal naming in user-defined steady state files.'])
problem_dummy=1;
end
end
%
% missing variables at the current period
%