Re: [eigen] compilation error

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


As a side note, it seems that this kind of dynamic array allocation is not standard and only allowed with GNU C. I think the portable way is to either use new[]/delete[] or  std::vector which has the convenience of handling delete for you.

Thomas
-- 
Thomas Capricelli <orzel@xxxxxxxxxxxxxxx>
http://www.freehackers.org/thomas

In data martedì 05 gennaio 2010 19:34:22, Trevor Irons ha scritto:
> Scalar values[lhs.size()];



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