[eigen] segfault in adjoint unit test

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi,

I noticed a segfault in the adjoint unit test. It disappears when I change

VERIFY(ei_isApprox(v1.dot(square * v2), square.adjoint() * v1.dot(v2),
largerEps));

to

VERIFY(ei_isApprox(v1.dot(square * v2), (square.adjoint() *
v1).eval().dot(v2), largerEps));

and it also does not appear when inlining is disabled. I don't know
how to nail down the error. I guess it's some nestByValue related
issue...

Regards,
Hauke



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/