On Thu, Oct 15, 2009 at 12:03 PM, Hauke Heibel
<hauke.heibel@xxxxxxxxxxxxxx> wrote:
Ok, next thing. For
template<typename Derived>
template<typename CustomNullaryOp>
EIGEN_STRONG_INLINE const CwiseNullaryOp<CustomNullaryOp, Derived>
MatrixBase<Derived>::NullaryExpr(int size, const CustomNullaryOp& func);
the function is not inlined due to the
ei_assert(IsVectorAtCompileTime);
It might throw an exception and thus the function is according to http://msdn.microsoft.com/en-us/library/a98sb923%28VS.80%29.aspx not inlined. I think it is the third rule.
Is that assert really required? We already have a compile time assert checking for the matrix being a vector.
- Hauke