Skip to content
Snippets Groups Projects
Commit 291c087d authored by michel's avatar michel
Browse files

v3 steady.m: undo recent change: steady must set y_ with exact steady state

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v3@584 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 15e047cd
No related branches found
No related tags found
No related merge requests found
...@@ -13,12 +13,14 @@ function steady(linear) ...@@ -13,12 +13,14 @@ function steady(linear)
disp(sprintf('%s \t\t %g',lgy_(i,:),ys_(i))); disp(sprintf('%s \t\t %g',lgy_(i,:),ys_(i)));
end end
% if isempty(ys0_) % overwrites the initialization of y_ in case it was
% y_(:,1:ykmin_) = ys_ * ones(1,ykmin_); % set by initval
% else if isempty(ys0_)
% options_ =set_default_option(options_,'periods',1); y_(:,1:ykmin_) = ys_ * ones(1,ykmin_);
% y_(:,ykmin_+1:ykmin_+options_.periods+ykmax_) = ys_ * ones(1,options_.periods+ykmax_); else
% end options_ =set_default_option(options_,'periods',1);
y_(:,ykmin_+1:ykmin_+options_.periods+ykmax_) = ys_ * ones(1,options_.periods+ykmax_);
end
% 06/24/01 MJ steady print results; steady_ doesn't % 06/24/01 MJ steady print results; steady_ doesn't
% 09/22/01 FC corrected lgy(i,:) % 09/22/01 FC corrected lgy(i,:)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment