This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Intermittent bug found in unit test SVD in dev branch Eigen3

Tags: None
(comma "," separated)
isluser
Registered Member
Posts
10
Karma
0
Hi,
I found an intermittent erreur in the test for SVD in the current devbranch of Eigen3.

I am building with the sse2 extensions in Visual Studio 2008.
The same error occurs without sse2.

I pulled out the randomly generated values that causes the error and some intermediary results.
a
0.3379 0.6564 -0.0455
0.1446 -0.9579 -0.4881
-0.8983 0.7541 -0.1372
b
-0.7562
0.2908
-0.8943
a1
-0.7852 -0.7145 -0.5284
0.9632 0.4973 -0.05185
-0.7212 -0.1118 0.3528
a * a.adjoint()
0.5471 -0.5576 0.1976
-0.5576 1.177 -0.7853
0.1976 -0.7853 1.394
a1 * a1.adjoint()
1.406 -1.084 0.4597
-1.084 1.178 -0.7685
0.4597 -0.7685 0.657
a += a * a.adjoint() + a1 * a1.adjoint()
2.291 -0.9855 0.6119
-1.497 1.397 -2.042
-0.2409 -0.7997 1.914
x
-106.7
-345.5
-158.2
a * x
-0.7458
0.2932
-0.9065
Test svd failed in ".\\testeigen3\\svd.cpp" (73)
test_ei_isApprox(a * x, b)


Thank you,


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]