octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57199] [octave-forge] (optim) lsqnonlin in ve


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #57199] [octave-forge] (optim) lsqnonlin in version 1.6.0 fails with Octave 6.0
Date: Sun, 10 Nov 2019 08:33:13 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Update of bug #57199 (project octave):

                  Status:                    None => Confirmed              
                 Release:                     dev => other                  
        Operating System:               GNU/Linux => Any                    
                 Summary: Lsqnonlin (optim package version 1.6.0) fails with
Octave 6.0  => [octave-forge] (optim) lsqnonlin in version 1.6.0 fails with
Octave 6.0 

    _______________________________________________________

Follow-up Comment #1:

Confirmed:

I was going to ask for a use case to reproduce this bug, but just running the
test gives:

> test lsqnonlin
***** test
 t = [0 .3 .8 1.1 1.6 2.3];
 y = [.82 .72 .63 .60 .55 .50];
 yhat = @(c,t) c(1) + c(2)*exp(-t);
 opt = optimset('TolFun',1e-10);
 [c,resnorm,residual] = lsqnonlin(@(c)yhat(c,t)-y,[1 1],[0 0],[],opt);
 assert (c, [ 0.47595; 0.34132], 1e-5)
 assert (resnorm, 3.2419e-004, 1e-8)
 assert(residual, [-2.7283e-003, 8.8079e-003, -6.8307e-004, -1.0432e-002,
-5.1366e-003, 1.0172e-002], 1e-
5)
!!!!! test failed
'fname' undefined near line 121, column 121


Maybe this is an easy to fix bug.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57199>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]