bug fix following change in fe7b7819b0
. #1280
parent
4b3c98d953
commit
9b1dc544cb
|
@ -121,7 +121,7 @@ if options_.use_shock_groups
|
||||||
zz = zeros(endo_nbr,ngroups+2,gend);
|
zz = zeros(endo_nbr,ngroups+2,gend);
|
||||||
for i=1:length(shock_names)
|
for i=1:length(shock_names)
|
||||||
for j = shock_groups.(shock_names{i})
|
for j = shock_groups.(shock_names{i})
|
||||||
k = find(strcmp(j,cellstr(M_.exo_names)));
|
k = find(strcmp(j.shocks{:}, cellstr(M_.exo_names)));
|
||||||
zz(:,i,:) = zz(:,i,:) + z(:,k,:);
|
zz(:,i,:) = zz(:,i,:) + z(:,k,:);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue