fixing bug related to computation of steady state introduced in commit f8ecc4d6ba

time-shift
Michel Juillard 2012-04-22 10:11:29 +02:00
parent dd5cb335fb
commit 408cce93cb
1 changed files with 5 additions and 3 deletions

View File

@ -31,9 +31,11 @@ function make_y_
global M_ options_ oo_ ys0_
[oo_.steady_state,M_.params,check] = ...
evaluate_steady_state_file(oo_.steady_state,oo_.exo_steady_state,M_, ...
options_);
if options_.steadystate_flag
[oo_.steady_state,M_.params,check] = ...
evaluate_steady_state_file(oo_.steady_state,oo_.exo_steady_state,M_, ...
options_);
end
if isempty(oo_.steady_state)
oo_.steady_state = zeros(M_.endo_nbr,1);