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
......@@ -157,7 +157,7 @@ for i=1:length(listofshocks)
timid = shock.dates(1)-initialconditionperiod;
for j=1:shock.vobs
k = find(strcmp({i}, exonames));
innovations(timid,:) = innovations(timid,:) +,j);
innovations(timid,k) = innovations(timid,k) +,j);
j = find(strcmp(listofshocks{i}, exonames));
Markdown is supported
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