Mercurial > forge
changeset 12000:ce765303f4ce octave-forge
powell.m: fix typo on variable name (bug #39686)
author | carandraug |
---|---|
date | Wed, 07 Aug 2013 13:44:19 +0000 |
parents | 7e8fe66357df |
children | aa682f0268a4 |
files | main/optim/inst/powell.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/main/optim/inst/powell.m Thu Aug 01 14:00:08 2013 +0000 +++ b/main/optim/inst/powell.m Wed Aug 07 13:44:19 2013 +0000 @@ -107,7 +107,7 @@ xi = optimget (options, 'SearchDirections'); if (! isempty (xi)) if (isvector (xi)) # assume that xi is is n*1 or 1*n - xi = diag (x); + xi = diag (xi); endif xi_set = 1; endif