Re: Test case failures on OSX

Posted by Luigi Ballabio-2 on
URL: http://quantlib.414.s1.nabble.com/Test-case-failures-on-OSX-tp10665p10666.html


Hi Mark,
        thanks for checking this.

On 2004.12.11 00:34, Mark Treiber wrote:
> I've finally been able to get around to testing the one of the 0.3.8
> gm releases and I had two test case failures on OSX.  I wanted to
> check to see if others are getting the same failures on other
> platforms or not before investigating further.

No, that's the first I heard of such failures. As far as I know, a number  
of compilers on Windows and gcc on Debian x86 all pass the check.

> One of the failures seems to be a precision based failure (this was the  
> case for a test case failure in 0.3.6 that was fixed)

What was the fix?

> but the other one seems universal.  The test case output is below.

[snip]

Hmm, I might have a suspect. Can you try the attached patch on ql/Patterns/
singleton.hpp and see if this fixes the problem?

Later,
        Luigi



singleton.patch (1K) Download Attachment