Mercurial > hg > octave-nkf
changeset 8991:c235a59d30a4
remove dead code from fsolve
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 17 Mar 2009 13:43:09 +0100 |
parents | 349d75161672 |
children | d12f44a5dce3 |
files | scripts/optimization/fsolve.m |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/optimization/fsolve.m +++ b/scripts/optimization/fsolve.m @@ -257,14 +257,6 @@ ## Inner loop. while (niter <= maxiter && nfev < maxfev && ! info) - if (useqr) - tr_mat = r; - tr_vec = q'*fvec; - else - tr_mat = fjac; - tr_vec = fvec; - endif - ## Get trust-region model (dogleg) minimizer. if (useqr) qtf = q'*fvec;