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

Ref. !2220
mr#2177
Sébastien Villemot 2023-12-13 17:37:09 +01:00
commit a7f5fd571d
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
3 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ beta = get_optimal_policy_discount_factor(M_.params, M_.param_names);
if options_.steadystate_flag
% explicit steady state file
[ys,M_.params,info] = evaluate_steady_state_file(endo_steady_state,[exo_steady_state; exo_det_steady_state],M_, ...
options_,false);
options_,~options_.steadystate.nocheck);
if info(1)
return;
end

View File

@ -111,7 +111,7 @@ if options_.logged_steady_state %if steady state was previously logged, undo thi
oo_.steady_state=exp(oo_.steady_state);
options_.logged_steady_state=0;
end
[dr.ys,M_.params,check1]=evaluate_steady_state(oo_.steady_state,[oo_.exo_steady_state; oo_.exo_det_steady_state],M_,options_,options_.steadystate.nocheck);
[dr.ys,M_.params,check1]=evaluate_steady_state(oo_.steady_state,[oo_.exo_steady_state; oo_.exo_det_steady_state],M_,options_,~options_.steadystate.nocheck);
if isfield(M_,'occbin')
if any(oo_.exo_steady_state)

View File

@ -49,7 +49,7 @@ output_cell{1,1}=mean(xparam1);
% set the parameters draws to the model structure
M_ = set_all_parameters(xparam1,estim_params_,M_);
% compute the steady state for the parameter draw written to M_
[ys,params,info] = evaluate_steady_state(oo_.steady_state,[oo_.exo_steady_state; oo_.exo_det_steady_state],M_,options_,false);
[ys,params,info] = evaluate_steady_state(oo_.steady_state,[oo_.exo_steady_state; oo_.exo_det_steady_state],M_,options_,~options_.steadystate.nocheck);
%set second part of output cell
output_cell{1,2}=ys';