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-bf33cf982152time-shift
parent
6a3d20452b
commit
4580290dae
|
@ -60,11 +60,12 @@ function steady()
|
||||||
disp(sprintf('%s \t\t %g',endo_names(i,:),steady_state(i)));
|
disp(sprintf('%s \t\t %g',endo_names(i,:),steady_state(i)));
|
||||||
end
|
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
|
%%% 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
|
% $$$ else
|
||||||
% $$$ options_ =set_default_option(options_,'periods',1);
|
% $$$ options_ =set_default_option(options_,'periods',1);
|
||||||
% $$$ oo_.endo_simul(:,M_.maximum_lag+1:M_.maximum_lag+options_.periods+ ...
|
% $$$ 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);
|
% $$$ M_.maximum_lead) = oo_.steady_state * ones(1,options_.periods+M_.maximum_lead);
|
||||||
% $$$ end
|
end
|
Loading…
Reference in New Issue