[Clam-devel] SemitoneCenterFinder bad results in 64bits OS's

Pau Arumí parumi at iua.upf.edu
Sat May 10 04:05:09 PDT 2008


The two unit tests broken in MacOSX are also broken in Linux 64 bits
(using ubuntu 8.04). And with the same "Actual" numbers!

The test 2) is specially simple, and should be easy to spot the problem.
But i'm not familiar with the SemitoneCenterFinder code.
David, could you please have a look?

Pau


1) test: Simac::Test::SemitoneCenterFinderTest::testSeveralFrames (F)
line: 135 UnitTests/TonalAnalysis/SemitoneCenterFinderTest.cxx
equality assertion failed
- Expected: 0.4
- Actual  : 0.400000005960464


2) test:
Simac::Test::SemitoneCenterFinderTest::testBorderTunning_roundsToTheFirstDecimalDown (F) line: 71 UnitTests/TonalAnalysis/SemitoneCenterFinderTest.cxx
equality assertion failed
- Expected: 1.9
- Actual  : 2






More information about the clam-devel mailing list