Skip to content
Snippets Groups Projects
Verified Commit deb0f8b4 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

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

Ref. !2046
parents e9bb370a 77d6782c
Branches
Tags
1 merge request!2046evaluate_steady_state.m: check whether planner_discount is actually set for ramsey
......@@ -74,6 +74,9 @@ if options.ramsey_policy
% provided by the block-decomposed routines.
error('The ''block'' option is not compatible with ''ramsey_model''/''ramsey_policy''');
end
if ~isfinite(M.params(strmatch('optimal_policy_discount_factor',M.param_names,'exact')))
fprintf('\nevaluate_steady_state: the planner_discount is NaN/Inf. That will cause problems.\n')
end
if steadystate_flag
% explicit steady state file
[ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M, ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment