Commit bd81ebc5 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

evaluate_steady_state: simplify check: the only time this variable is used...

evaluate_steady_state: simplify check: the only time this variable is used both of these conditions hold
parent bb3e7164
......@@ -46,11 +46,9 @@ steadystate_flag = options.steadystate_flag;
params = M.params;
exo_ss = [oo.exo_steady_state; oo.exo_det_steady_state];
if length(M.aux_vars) > 0
if length(M.aux_vars) > 0 && ~steadystate_flag
h_set_auxiliary_variables = str2func([M.fname '_set_auxiliary_variables']);
if ~steadystate_flag
ys_init = h_set_auxiliary_variables(ys_init,exo_ss,M.params);
end
ys_init = h_set_auxiliary_variables(ys_init,exo_ss,M.params);
end
if options.ramsey_policy
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment