Mercurial > octave-libgccjit
changeset 17931:a404853d2073
qp.m: Condition test on HAVE_GLPK
* qp.m: Condition test from changeset 185038fe7a16 on HAVE_GLPK.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Thu, 14 Nov 2013 22:09:38 -0500 |
parents | ffdbb82a0c78 |
children | 87db35b69cfd |
files | scripts/optimization/qp.m |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/optimization/qp.m Thu Nov 14 16:52:21 2013 -0500 +++ b/scripts/optimization/qp.m Thu Nov 14 22:09:38 2013 -0500 @@ -408,7 +408,8 @@ endfunction -%!test # with infeasible initial guess +%% Test infeasible initial guess (bug #40536) +%!testif HAVE_GLPK %! %! H = 1; q = 0; # objective: x -> 0.5 x^2 %! A = 1; lb = 1; ub = +inf; # constraint: x >= 1