Mercurial > forge
changeset 9410:ea5be5f3aa7c octave-forge
Apply bugfix sent by Daniel Seither <post@tiwoc.de>.
author | i7tiol |
---|---|
date | Wed, 08 Feb 2012 08:42:25 +0000 |
parents | 3794264508e6 |
children | bcafeecb90da |
files | main/optim/inst/linprog.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/main/optim/inst/linprog.m Mon Feb 06 21:00:30 2012 +0000 +++ b/main/optim/inst/linprog.m Wed Feb 08 08:42:25 2012 +0000 @@ -93,7 +93,7 @@ ## Sanitize lb if (isempty (lb)) - LB = - Inf (nr_f, 1); + lb = - Inf (nr_f, 1); endif if (size (lb) != [nr_f 1]) error ("size (lb) != [(rows (f)) 1]"); @@ -101,7 +101,7 @@ ## Sanitize ub if (isempty (ub)) - UB = Inf (nr_f, 1); + ub = Inf (nr_f, 1); endif if (size (ub) != [nr_f 1]) error ("size (ub) != [(rows (f)) 1]");