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