Bug correction related to initialization of deterministic simulations (i forgot to commit this file).

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2011 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
adjemian 2008-09-01 10:13:10 +00:00
parent 6a3d20452b
commit 4580290dae
1 changed files with 4 additions and 3 deletions

View File

@ -60,11 +60,12 @@ function steady()
disp(sprintf('%s \t\t %g',endo_names(i,:),steady_state(i)));
end
if isempty(ys0_)
oo_.endo_simul(:,1:M_.maximum_lag) = oo_.steady_state * ones(1, M_.maximum_lag);
%%% Unless I'm wrong, this is (should be?) done in make_y_.m
% $$$ if isempty(ys0_)
% $$$ oo_.endo_simul(:,1:M_.maximum_lag) = oo_.steady_state * ones(1, M_.maximum_lag);
% $$$ else
% $$$ options_ =set_default_option(options_,'periods',1);
% $$$ oo_.endo_simul(:,M_.maximum_lag+1:M_.maximum_lag+options_.periods+ ...
% $$$ M_.maximum_lead) = oo_.steady_state * ones(1,options_.periods+M_.maximum_lead);
% $$$ end
end