Re: [eigen] Multiarray

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


Can you retry now? Gael has made a change so that it is now allowed to
resize to size 0.

2009/1/30 Stefan Ulbrich <s.ulbrich@xxxxxxxxxxxxxx>:
> Hello,
>
> First thank you very much for this great library!
>
> I want to store dynamically sized matrices in a boost::multi_array :
>
>        boost::multi_array<MatrixXd, 2> B(boost::extents[3][3]);
>
> At runtime I get the following error from this call
>
>        Assertion failed: (rows > 0 && cols > 0 && "a matrix cannot be
> resized to 0 size"), function resize, file
> /usr/local/include/Eigen/src/Core/Matrix.h, line 229.
>
> Has anybody an idea how to solve this problem?
>
> Tank you alot in advance,
>
> Stefan
>
>



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