Re: [eigen] segfault in adjoint unit test

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


2.0 or devel? SSE enabled or not? Just so I can try to reproduce...

can you get a backtrace? perhaps disable assertion checking if that
helps getting a better backtrace, and make sure the test is compiled
without -O2...

Benoit

2009/8/29 Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>:
> 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/