Skip to content
Snippets Groups Projects
Commit bc76988b authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug in bakward model IRF routine.

Missing index.
parent 54d0afec
No related branches found
No related tags found
No related merge requests found
...@@ -157,7 +157,7 @@ for i=1:length(listofshocks) ...@@ -157,7 +157,7 @@ for i=1:length(listofshocks)
timid = shock.dates(1)-initialconditionperiod; timid = shock.dates(1)-initialconditionperiod;
for j=1:shock.vobs for j=1:shock.vobs
k = find(strcmp(shock.name{i}, exonames)); k = find(strcmp(shock.name{i}, exonames));
innovations(timid,:) = innovations(timid,:) + shock.data(1,j); innovations(timid,k) = innovations(timid,k) + shock.data(1,j);
end end
else else
j = find(strcmp(listofshocks{i}, exonames)); j = find(strcmp(listofshocks{i}, exonames));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment