[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2 test failures on Mac OS 10.6
From: |
Ben Abbott |
Subject: |
Re: 2 test failures on Mac OS 10.6 |
Date: |
Sat, 02 Jan 2010 12:17:57 -0500 |
On Dec 22, 2009, at 1:55 PM, Ben Abbott wrote:
> I'm seeing two test failures on Mac OS 10.6. The first error is ...
>
>>>>>> processing
>>>>>> /Users/bpabbott/Development/mercurial/local_clone/src/mappers.cc
> ***** assert (erf (erfinv ([-0.999 -0.99 0.9999 0.99999])), [-0.999 -0.99
> 0.9999 0.99999], 1e-16)
> !!!!! test failed
> assert (erf (erfinv ([-0.999, -0.99, 0.9999, 0.99999])),[-0.999, -0.99,
> 0.9999, 0.99999],1e-16) expected
> -0.99900 -0.99000 0.99990 0.99999
> but got
> -0.99900 -0.99000 0.99990 0.99999
> maximum absolute error 1.11022e-16 exceeds tolerance 1e-16
>
> The actual error is equal to eps/2. Any reason not to increase the tolerance
> to eps?
>
I've pushed a changeset to change the test tolerance from 1e-16 to eps.
http://hg.savannah.gnu.org/hgweb/octave/rev/44e889c67abe
Ben
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: 2 test failures on Mac OS 10.6,
Ben Abbott <=