Consistently use nocheck flag for steady state
Fixes a bug in model_diagnostics.mmr#2177
parent
62b31aa279
commit
1b4fb46c75
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue