On Fri, Mar 19, 2010 at 3:30 AM, Benoit Jacob
<jacob.benoit.1@xxxxxxxxx> wrote:
Hi,
this is a question for our favorite 30-year-old:
in Product.h, in ei_gemv_selector, you have lines like:
Map<Matrix<Scalar,Dest::RowsAtCompileTime,1> >(actualDest, dest..size()) = dest;
my question is, why this type Matrix<Scalar,Dest::RowsAtCompileTime,1>?
- couldn't we propagate the max-sizes? Or do you mean, this is only
ever called for big/dynamic sizes?
Why not.
- wouldn't it be simpler to just pass e.g. typename Dest::PlainObject ?
Yes, that sounds reasonable to me.
gael
Benoit