put_in_sur_form: fix bug in cross equation restriction
parent
ac171747cd
commit
a3867a0b34
|
@ -76,7 +76,7 @@ for i = 1:neqs
|
|||
end
|
||||
end
|
||||
for j = length(to_remove):-1:1
|
||||
Xtmp = Xtmp.remove(Xtmp.name{j});
|
||||
Xtmp = Xtmp.remove(Xtmp.name{to_remove(j)});
|
||||
end
|
||||
if ~isempty(Xtmp)
|
||||
Xmat = [Xmat Xtmp];
|
||||
|
|
Loading…
Reference in New Issue