Re: [eigen] Bug in the Cholesky/Core module?

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


Hi,

thanks for the report, bug fixed (rev 850982)

gael.


On Fri, Aug 22, 2008 at 7:34 PM, Timothy Hunter <tjhunter@xxxxxxxxxxxx> wrote:
> 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/