evaluate_steady_state: simplify check: the only time this variable is used both of these conditions hold
parent
bb3e71646a
commit
bd81ebc55d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue