Corrects a minor bug related to a matrix transposition

time-shift
Ferhat Mihoubi 2011-11-25 13:03:19 +01:00
parent 12187710e7
commit 244e0ffb14
1 changed files with 1 additions and 0 deletions

View File

@ -241,6 +241,7 @@ end
% Define union of observed and state variables
if options_.block == 1
k1 = k1';
[k2, i_posA, i_posB] = union(k1', M_.state_var', 'rows');
% Set restrict_state to postion of observed + state variables in expanded state vector.
oo_.dr.restrict_var_list = [k1(i_posA) M_.state_var(sort(i_posB))];