Skip to content
Snippets Groups Projects
Commit b89bdb6f authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Bug fix. Call evaluate_steady_state_routine, otherwise evaluate_smoother...

Bug fix. Call evaluate_steady_state_routine, otherwise evaluate_smoother crashes if the steady state of the model is specified using the steady state model block (or writing a steadystate2.m routine).
parent 56914e3d
Branches
Tags
No related merge requests found
...@@ -96,9 +96,7 @@ if isempty(dataset_) ...@@ -96,9 +96,7 @@ if isempty(dataset_)
% Determine if a constant is needed. % Determine if a constant is needed.
if options_.steadystate_flag% if the *_steadystate.m file is provided. if options_.steadystate_flag% if the *_steadystate.m file is provided.
[ys,tchek] = feval([M_.fname '_steadystate'],... [ys,params,info] = evaluate_steady_state(oo_.steady_state,M_,options_,oo_,1);
[zeros(M_.exo_nbr,1);...
oo_.exo_det_steady_state]);
if size(ys,1) < M_.endo_nbr if size(ys,1) < M_.endo_nbr
if length(M_.aux_vars) > 0 if length(M_.aux_vars) > 0
ys = add_auxiliary_variables_to_steadystate(ys,M_.aux_vars,... ys = add_auxiliary_variables_to_steadystate(ys,M_.aux_vars,...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment