octave-maintainers
[Top][All Lists]
Advanced

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

Re: fminbnd test failure


From: Ben Abbott
Subject: Re: fminbnd test failure
Date: Fri, 05 Mar 2010 18:05:12 +0900

With Jaroslav's change below, the problem is now gone.

        http://hg.savannah.gnu.org/hgweb/octave/rev/7df8f8194c96

Ben

On Mar 5, 2010, at 7:44 AM, Ben Abbott wrote:

> I'm seeing a new failure for fminbnd, which I assume is due to the change 
> below.
> 
>       http://hg.savannah.gnu.org/hgweb/octave/rev/b4e5dcf023c9
> 
> Perhaps the tolerance should be sqrt(eps)?
> 
> octave:1> test fminbnd 
> ***** assert (fminbnd (@cos, pi/2, 3*pi/2, opt0), pi, 10*eps)
> !!!!! test failed
> assert (fminbnd (@cos, pi / 2, 3 * pi / 2, opt0),pi,10 * eps) expected
> 3.1416
> but got
> 3.1416
> maximum absolute error 1.01056e-08 exceeds tolerance 2.22045e-15
> shared variables {
> opt0 =
> {
>  TolX = 0
> }
> 
> }
> 
> Ben



reply via email to

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