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

Ref. !2030
mr#2067
Sébastien Villemot 2022-05-19 14:54:28 +02:00
commit 3496c26699
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 4 additions and 0 deletions

View File

@ -86,6 +86,10 @@ nstatic = M_.nstatic;
nspred = M_.nspred;
beta = get_optimal_policy_discount_factor(M_.params, M_.param_names);
if beta>=1
fprintf('evaluate_planner_objective: the planner discount factor is not strictly smaller than 1. Unconditional welfare will not be finite.\n')
end
if options_.ramsey_policy
if oo_.gui.ran_perfect_foresight
T = size(oo_.endo_simul,2);