[eigen] eigen and boost::multi_array

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


Hi
I was trying to use boost::multi_array in a project where I am already using eigen2. The following lines does not compile in my code, though it compiles correctly outside my project ie as a standalone program where eigen is not used.

typedef multi_array<double, 2> array_type;
array_type scores(extents[1][1]);

compiler error: ‘extents’ is not a type

I guess it happens because of eigen ..

Any suggestions?
thanks
suresh



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