Skip to content
Snippets Groups Projects
Commit 24dcfcb9 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

Initialize epsilon in shock_decomposition.m

parent a5a18947
Branches
Tags
Loading
......@@ -76,10 +76,11 @@ A = dr.ghx;
B = dr.ghu;
% initialization
gend = eval(['size(oo.SmoothedShocks.' M_.exo_names(1,:),',1)']);
epsilon=NaN(nshocks,gend);
for i=1:nshocks
epsilon(i,:) = eval(['oo.SmoothedShocks.' M_.exo_names(i,:)]);
end
gend = size(epsilon,2);
z = zeros(endo_nbr,nshocks+2,gend);
for i=1:endo_nbr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment