Fixed test on M_.Sigma_e (backward model irf routine).

parent a0f089af
...@@ -123,7 +123,7 @@ end ...@@ -123,7 +123,7 @@ end
% Get the covariance matrix of the shocks. % Get the covariance matrix of the shocks.
if ~deterministicshockflag if ~deterministicshockflag
if ~nnz(M_.Sigma_e) if nnz(M_.Sigma_e)
Sigma = M_.Sigma_e + 1e-14*eye(M_.exo_nbr); Sigma = M_.Sigma_e + 1e-14*eye(M_.exo_nbr);
sigma = transpose(chol(Sigma)); sigma = transpose(chol(Sigma));
else else
......
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