Revert "bug fix following change in fe7b7819b0. #1280"

This reverts commit 9b1dc544cb.
time-shift
Houtan Bastani 2016-09-30 16:23:35 +02:00
parent 9b1dc544cb
commit acf1cd8600
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ if options_.use_shock_groups
zz = zeros(endo_nbr,ngroups+2,gend);
for i=1:length(shock_names)
for j = shock_groups.(shock_names{i})
k = find(strcmp(j.shocks{:}, cellstr(M_.exo_names)));
k = find(strcmp(j,cellstr(M_.exo_names)));
zz(:,i,:) = zz(:,i,:) + z(:,k,:);
end
end