Skip to content

Commit 5a77715

Browse files
committed
Fix typo in compute_irfs.m (thanks to Paul Bousquet!)
Note: The typo does not affect any of our results, since C*A^{-1}*B=D in the DGPs we consider
1 parent ff014b2 commit 5a77715

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Auxiliary_Functions/compute_irfs.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
IRF(1,:) = (D * shock_weight)';
2121

2222
% go through horizon 1 to IRF_hor - 1
23-
for i = 1:IRF_hor
23+
for i = 2:IRF_hor
2424
IRF(i,:) = C * A^(i-2) * B * shock_weight; % iterate to get IRF
2525
end
2626

0 commit comments

Comments
 (0)