Mercurial > octave-nkf
changeset 16061:69c0728def22 stable
* sqp.m: Relax tolerance in test.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 11 Feb 2013 16:22:19 -0500 |
parents | 1678d0fca146 |
children | cc5a7d1233f3 |
files | scripts/optimization/sqp.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/optimization/sqp.m Mon Feb 11 13:26:44 2013 -0500 +++ b/scripts/optimization/sqp.m Mon Feb 11 16:22:19 2013 -0500 @@ -760,7 +760,7 @@ %! %! obj_opt = 0.0539498477702739; %! -%! assert (all (abs (x-x_opt) < 5*sqrt (eps)) && abs (obj-obj_opt) < sqrt (eps)); +%! assert (all (abs (x-x_opt) < 8*sqrt (eps)) && abs (obj-obj_opt) < sqrt (eps)); %% Test input validation %!error sqp ()