Mercurial > hg > octave-lyh
diff scripts/optimization/qp.m @ 6526:2a715c6409a5
[project @ 2007-04-13 20:31:50 by jwe]
author | jwe |
---|---|
date | Fri, 13 Apr 2007 20:31:50 +0000 |
parents | 589c8dbba916 |
children | 00116015904d |
line wrap: on
line diff
--- a/scripts/optimization/qp.m +++ b/scripts/optimization/qp.m @@ -177,13 +177,8 @@ ## will never be active. idx = isinf (bin) & bin < 0; - ## FIXME -- this check should not be necessary, but Octave is - ## incorrectly returning [](0x0) for bin(idx) when bin = [](0x1) and - ## idx = [](0x1). - if (! isempty (idx)) - bin(idx) = []; - Ain(idx,:) = []; - endif + bin(idx) = []; + Ain(idx,:) = []; n_in = length (bin);