polyfit enters infinite loop

Sergei Steshenko sergstesh at yahoo.com
Sat Dec 6 15:46:56 CST 2008




--- On Sat, 12/6/08, Thorsten Meyer <thorsten.meyier at gmx.de> wrote:

> From: Thorsten Meyer <thorsten.meyier at gmx.de>
> Subject: Re: polyfit enters infinite loop
> To: bug at octave.org
> Date: Saturday, December 6, 2008, 1:23 PM
> Afief Halumi wrote:
> > Bug report for Octave 3.0.1 configured for
> i486-pc-linux-gnu
> > 
> > Description:
> > -----------
> > 
> >   trying to polyfit log(x) when x starts at 0(
> log(0)=-inf according to
> > octave ) keeps running indefinitely(or at least for
> over 15 minutes)
> > 
> > Repeat-By:
> > ---------
> > 
> >   * x=0:0.1:10; y=log(x); polyfit(x,y,3);
> > 
> I can confirm this bug with 3.0.1.
> 
> In octave freshly built from the mercurial sources the
> command returns:
> octave:4> x=0:0.1:10; y=log(x); polyfit(x,y,3)
> ans =
> 
>    NaN   NaN   NaN  -Inf
> So apparently, it has already been fixed.
> 
> can somebody check in 3.0.3?
> 
> Thorsten
> 

In my case octave-3.0.3 hangs.

Regards,
  Sergei.


      


More information about the Bug-octave mailing list