Error in Test Suite

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error in Test Suite

Block, Kenneth
I've just downloaded QuantLib 0.3.8 and ran the test suite and I am
getting the following error. I'm wondering if anybody has encountered
this before and can save me the trouble of digging into it.

Looks like it might be a compiler bug, since I can get the error to go
away adding a printf to the beginning of the function. I am using gcc
3.3.3 on Fedora Core release 2. Also, I compiled this "-O3" instead of
the normal "-O2 -g". I'm rebuilding right now to see if this makes a
difference.

[ken@migrate1 test-suite]$ quantlib-test-suite
Running 172 test cases...
Exception in "StatisticsTest::testSequenceStatistics": std::exception:
../../ql/Math/incrementalstatistics.hpp:173: In function `Real
QuantLib::IncrementalStatistics::max() const': empty sample set
 
Tests completed in 760.2 s
 

*** errors detected in test suite "QuantLib test suite"; see standard
output for details



Kenneth Block
HP Consulting & Integration
401-290-8775



Reply | Threaded
Open this post in threaded view
|

Re: Error in Test Suite

Luigi Ballabio
On 03/29/05 01:52:51, Block, Kenneth wrote:
> I've just downloaded QuantLib 0.3.8 and ran the test suite and I am
> getting the following error. I'm wondering if anybody has encountered
> this before and can save me the trouble of digging into it.

Yes, I did. It disappeared when I used -O2, so I filed it away as a  
compiler bug...

Luigi


----------------------------------------

fix, n.,v.
         What one does when a problem has been reported too many times
         to be ignored.
-- the Jargon file