openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] ImathTest Failure


From: Florian Kainz
Subject: Re: [Openexr-devel] ImathTest Failure
Date: Wed, 04 Aug 2004 09:34:41 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314

Looks like the test that failed previously passes now, but the next test
fails for a similar reason.  Try changing line 100 in testExtractEuler.cpp
to

        if (abs (D[j][k]) > 0.000002)

I wonder if the compiler generates calls to a "fast but sloppy" version
of the functions defined in math.h.  Does your compiler have some kind
of "fast vs. accurate" option?

Daniel Fort wrote:
Hi Florian,


The Imath confidence tests should succeed if you change line 217 in
testExtractEuler.cpp to

    float eps = 180.0 * 5.0 * limits<float>::epsilon();


It still fails but with a somewhat different error. I'll try some different optimization levels next.

--Dan

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

angle 1.097467303
angleEx 1.097467303
eps 0.0001072883606
( -7.9077827930e-01   6.1210262775e-01   0.0000000000e+00
  -6.1210262775e-01  -7.9077827930e-01   0.0000000000e+00
   0.0000000000e+00   0.0000000000e+00   1.0000000000e+00)

angle 2.482875824
angleEx 2.48287487
eps 0.0001072883606
Testing extraction of Euler angles from matrices
extractEulerXYZ()
order = 101
unexpectedly large matrix to euler angles conversion error: -1.028180122e-06
0 1
M
( -9.8691958189e-01 1.0033029318e-01 -1.2618836761e-01 0.0000000000e+00 -5.3994730115e-02 5.3181910515e-01 8.4513491392e-01 0.0000000000e+00 1.5190209448e-01 8.4089362621e-01 -5.1944535971e-01 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 1.0000000000e+00)

N
( -9.8691952229e-01 1.0033132136e-01 -1.2618838251e-01 0.0000000000e+00 -5.3994469345e-02 5.3181850910e-01 8.4513527155e-01 0.0000000000e+00 1.5190285444e-01 8.4089392424e-01 -5.1944476366e-01 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 1.0000000000e+00)

D
( -5.9604644775e-08 -1.0281801224e-06 1.4901161194e-08 0.0000000000e+00 -2.6077032089e-07 5.9604644775e-07 -3.5762786865e-07 0.0000000000e+00 -7.5995922089e-07 -2.9802322388e-07 -5.9604644775e-07 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00)

lt-ImathTest: testExtractEuler.cpp:112: void <unnamed>::testMatrix(Imath::Matrix44<float>, Imath::M44f (*)(const Imath::M44f&, Imath::Euler<float>::Order), Imath::Euler<float>::Order): Assertion `false' failed.
FAIL: ImathTest
===================
1 of 1 tests failed
===================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/dfort/OpenEXR-1.2.1/ImathTest'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/dfort/OpenEXR-1.2.1/ImathTest'
make: *** [check-recursive] Error 1



_______________________________________________
Openexr-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/openexr-devel








reply via email to

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