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: Mon, 02 Aug 2004 12:33:48 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314

Hi Dan,

Would you mind trying the following:

In file testExtractEuler.cpp, just before line 229, which reads

    assert (Imath::equal (angle, angleEx, eps));

insert these print statements:

    cout << setprecision (10);
    cout << M << endl;
    cout << "angle " << angle << endl;
    cout << "angleEx " << angleEx << endl;
    cout << "eps " << eps << endl;

then re-run the confidence test.  You should get a lot of output
that looks like this:

    angle 2.275887251
    angleEx 2.275887251
    eps 5.960464478e-07
    (  6.6362828016e-01  -7.4806249142e-01   0.0000000000e+00
       7.4806249142e-01   6.6362828016e-01   0.0000000000e+00
       0.0000000000e+00   0.0000000000e+00   1.0000000000e+00)

    angle -0.8451377153
    angleEx -0.8451377153
    eps 5.960464478e-07
    (  8.5939532518e-01  -5.1131170988e-01   0.0000000000e+00
       5.1131170988e-01   8.5939532518e-01   0.0000000000e+00
       0.0000000000e+00   0.0000000000e+00   1.0000000000e+00)

Please send me the last 20 lines of the output before the assertion
failure.

Also, can you make the error go away by changing the optimization
level (-O0, -O1, -O2)?

Florian



Daniel A. Fort wrote:
Hi Paul,

Openexr seems to be working great on my AMD 64 box.


Can you pass on more information about your OS, compiler, and hardware?


gentoo 2004.1
kernel - gentoo-dev 2.6.7r11
gcc version 3.3.3 20040412 (Gentoo linux 3.3.3-r6, ssp-3.3.2-2.
pie-8.7.6)
ASUS K8V SE DLX ATHLON 64 3400+
video - nVidia TNT-2 w/32MB RAM

Once again the ImathTest failure message is:


Testing extraction of rotation angle from 3x3 matrices
ImathTest: testExtractEuler.cpp:229: void
<unnamed>::testRandomAngles33(): Assertion `Imath::equal (angle,
angleEx, eps)' failed.
FAIL: ImathTest
===================
1 of 1 tests failed
===================


Cheers.

--Dan







_______________________________________________
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]