Commit 07193b2c authored by MichelJuillard's avatar MichelJuillard
Browse files

fixing bug in computing full_rank for purely backward models

parent 92833d3c
......@@ -155,7 +155,7 @@ if M_.maximum_endo_lead == 0
dr.ghu = -b\jacobia_(:,nz+1:end);
end
dr.eigval = eig(transition_matrix(dr));
dr.rank = 0;
dr.full_rank = 1;
if any(abs(dr.eigval) > options_.qz_criterium)
temp = sort(abs(dr.eigval));
nba = nnz(abs(dr.eigval) > options_.qz_criterium);
......
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