Re: [eigen] LU test fails

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


Hi,

Thanks for your report.
Don't worry about this failure: if it succeeds most of the time, then
you can consider that it is just noise. The truth is that in this
particular test I should relax the == requirement a little bit.

About running the tests:
cmake -DEIGEN_BUILD_TESTS=ON .....
make
cd test
ctest

you can run a particular test directly, there are command line options
(pass "help" or anything else on the cmd line).

Cheers,
Benoit

2009/1/5 Jitse Niesen <jitse@xxxxxxxxxxxxxxxxx>:
> Hello,
>
> I'm getting an error in the LU test:
>
> Test lu_non_invertible<MatrixXcf>() failed in
> "/home/jitse/misc/eigen2/test/lu.cpp" (70)
>    cols - rank == lu.dimensionOfKernel()
>
> This error does not occur in every run. I got it in three runs out of eight.
>
> I'm very new to the eigen library and this is the first time that I ran the
> test set. I found it not so easy because I never used cmake, so it's
> possible that I made a mistake which causes the error. Furthermore, I have
> cmake version 2.6.0 while the code requires 2.6.2. On the other hand, all
> other tests pass so that seems pretty unlikely.
>
> My OS is Debian stable and gcc is version 4.3.2 (Debian 4.3.2-1). The CPU is
> an Intel Celeron and I enabled SSE2 in the test.
>
> I'd be happy to debug myself soonish, but as I said I'm very new to eigen
> and I know only the basics about C++ templates. So I'm not sure I could find
> what's going wrong.
>
> Please let me know if you need more information.
>
> All the best,
> Jitse Niesen
>
> ---
>
>

---


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