fixing bug in evaluating rank condition for BK when using check (introduced in commit 4d51f38bd2)

time-shift
Michel Juillard 2012-07-14 21:07:05 +02:00
parent 10f8c1ca07
commit 1732db842f
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ if (task ~= 1 && ((DynareOptions.dr_cycle_reduction == 1 && info ==1) || DynareO
nba = nd-sdim;
if task == 1
dr.rank = rank(w(1:nyf,nd-nyf+1:end));
dr.rank = rank(w(npred+nboth+1:end,npred+nboth+1:end));
% Under Octave, eig(A,B) doesn't exist, and
% lambda = qz(A,B) won't return infinite eigenvalues
if ~exist('OCTAVE_VERSION')