-new: recursive costs system, useful to determine automatically

when to evaluate arguments and when to meta-unroll.
-use it in Product to determine when to eval args. not yet used
 to determine when to unroll. for now, not used anywhere else but
 that'll follow.
-fix badness of my last commit
This commit is contained in:
Benoit Jacob
2008-04-03 11:10:17 +00:00
parent e74fbfb2bc
commit d1a29d6319
28 changed files with 379 additions and 212 deletions

View File

@@ -101,9 +101,9 @@ template<typename ExpressionType> class Eval : ei_no_assignment_operator,
*
* \sa class Eval */
template<typename Derived>
const typename ei_eval_unless_lazy<Derived>::Type MatrixBase<Derived>::eval() const
const typename ei_eval_unless_lazy<Derived>::type MatrixBase<Derived>::eval() const
{
return typename ei_eval_unless_lazy<Derived>::Type(derived());
return typename ei_eval_unless_lazy<Derived>::type(derived());
}
#endif // EIGEN_EVAL_H