Registered Member
|
Hi!
I am trying to make an array of SparseMatrix<double> this way :
But the compiler keep telling me : error: variable-sized object 'mat' may not be initialized I have strictly no idea why and I have no advantage creating a vector instead. Could you help me please? Thanks Theo |
Moderator
|
you should use a std::vector<Eigen::SparseMatrix<double> >.
|
Registered Member
|
Thank you,
I finally found another solution less memory-consumming |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]