Commit ce427e92 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge pull request #305 from JohannesPfeifer/master

Bugfix in Posterior IRFs
parents 46a59423 69b385cc
......@@ -177,7 +177,7 @@ while fpar<B
if SS(i,i) > 1e-13
y=irf(dr,SS(M_.exo_names_orig_ord,i), options_.irf, options_.drop,options_.replic,options_.order);
if options_.relative_irf
y = 100*y/cs(i,i);
y = 100*y/SS(i,i);
end
for j = 1:nvar
if max(y(IndxVariables(j),:)) - min(y(IndxVariables(j),:)) > 1e-12
......
Supports Markdown
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