From: Michael C. <mic...@ua...> - 2004-09-06 10:56:21
|
Hi Teemu and list, The source code for newtonstep explains that it is for use by bfgsmin (and lbfgsmin). As it's an internally used function, it doesn't have proper argument checking (which causes the crash you report) and it is poorly documented. Right now the "help newtonstep" message doesn't tell you that. I'll add the message to the help string, and try to do the same for other internal files later. There is a more extensive help document in main/optim/doc that explains some of this, e.g., which are the files that are expected to be of use to end users. Thanks for pointing out the problem with the example in the help string - when I added the possibility to set tolerances I forgot to update the example. Will fix today. Michael On Monday 06 September 2004 10:20, Teemu Ikonen wrote: > On 03/09/04 14:39, Michael Creel wrote: > > On Friday 03 September 2004 14:24, Teemu Ikonen wrote: > > > bfgsmin consistently makes octave dump core on at least one fitting > > > problem I have. Unfortunately I don't have the time to send a more > > > detailed bug report just now. > > > > I'll be happy to look at it when you have time to send it in. Just > > guessing, > > Ok, > > At least this is easy to repeat: > > octave --no-init-file > > [...] > octave:1> newtonstep > panic: Segmentation fault -- stopping myself... > attempting to save variables to octave-core'... > save to octave-core' complete > Segmentation fault > > This is with recent CVS versions of both Octave and Octave-forge. If nobody > can repeat this, let me know. > > There are also some cosmetic things that need fixing, like the non-working > example on bfgsmin help, but I'll report more on those later. > > Teemu > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Octave-dev mailing list > Oct...@li... > https://lists.sourceforge.net/lists/listinfo/octave-dev |