Mercurial > octave
diff scripts/optimization/pqpnonneg.m @ 31283:b902f78ecf66 stable
pqpnonneg.m: increase tolerance on BIST (bug #63178)
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Sun, 09 Oct 2022 13:47:11 -0400 |
parents | 635ef1eb7dc3 |
children | 10a813492497 |
line wrap: on
line diff
--- a/scripts/optimization/pqpnonneg.m Sun Oct 09 14:04:01 2022 +0200 +++ b/scripts/optimization/pqpnonneg.m Sun Oct 09 13:47:11 2022 -0400 @@ -268,7 +268,7 @@ %!test %! [x, resid, ~, ~, lambda] = pqpnonneg ([3 2; 2 2], [-6; -5]); %! assert (x, [1 1.5]', 10*eps); -%! assert (resid, -6.75, eps); +%! assert (resid, -6.75, 10*eps); %! assert (lambda, [0 0]', eps); %! assert (x .* lambda, [0 0]')