A call to dr1 was missing.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1231 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
adjemian 2007-03-20 16:56:16 +00:00
parent 83bb7940cf
commit fbe123b88a
1 changed files with 5 additions and 3 deletions

View File

@ -23,7 +23,7 @@ function F = get_innovation_contemporaneous_impact('type')
% None.
%
% SPECIAL REQUIREMENTS
% This function need to be run after the estimation of a model.
% This function needs to be run after the estimation of a model.
%
%
% part of DYNARE, copyright S. Adjemian, M. Juillard (2006)
@ -36,7 +36,9 @@ end
get_posterior_parameters(type);
Atheta(oo_.dr.order_var,M_.exo_names_orig_ord) = oo_.dr.ghu*sqrt(M_.Sigma_e);
F = Atheta(bayestopt_.mfys,:);
[dr,info]=dr1(oo_.dr,0);
B(dr.order_var,M_.exo_names_orig_ord) = dr.ghu*sqrt(M_.Sigma_e);
F = B(bayestopt_.mfys,:);
save([M_.fname '_InnovImpact',F]);