Re: [eigen] eigen and boost::multi_array

[ Thread Index | Date Index | More Archives ]

> I was trying to use boost::multi_array in a project where I am already using
> eigen2...
> 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 ..

My guess is that the global MultiArray extent_gen instance is being
shadowed or clobbered somehow:

Workaround is probably to instantiate a local extent_gen instance as
suggested in the link above.

- Rhys

Mail converted by MHonArc 2.6.19+