[eigen] Bug in the Cholesky/Core module?

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


Hi List,

the following code:

typedef Eigen::Matrix<float, 1, 1> MyMatrix;

typedef Eigen::Matrix<float, 1, 1> MyVector;

MyMatrix A1 = MyMatrix::Random();

A1=(A1.transpose()*A1).eval();

Eigen::Cholesky<MyMatrix> chol(A1);

chol.solve(MyVector::Random());

produces a ‘you_mixed_matrices_of_different_sizes’ error in Assign.h

I know there is no need for the cholesky decomposition in this case, but I had it as the result of deeply nested templates. Can anyone reproduce it?

--

Timothy Hunter

Student (Stanford University)



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