Mercurial > octave
changeset 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 | a3ad15a21c51 |
children | 5ec49cb45c50 b8afc6e7d9b4 |
files | scripts/optimization/pqpnonneg.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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]')