Commit fbe123b8 authored by adjemian's avatar adjemian
Browse files

A call to dr1 was missing.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1231 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 83bb7940
......@@ -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]);
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment