ghx matrix has to be stored as soon as the block contains lagged or mixed variables

time-shift
Ferhat 2012-02-17 10:24:31 +01:00
parent f09c10e2d3
commit e184c1f368
1 changed files with 1 additions and 1 deletions

View File

@ -650,7 +650,7 @@ for i = 1:Size;
end
end;
if task ~=1
if (maximum_lag > 0 && n_pred > 0)
if (maximum_lag > 0 && (n_pred > 0 || n_both > 0))
sorted_col_dr_ghx = M_.block_structure.block(i).sorted_col_dr_ghx;
dr.ghx(endo, sorted_col_dr_ghx) = dr.ghx(endo, sorted_col_dr_ghx) + ghx;
data(i).ghx = ghx;