I think it's OK to let XprHelper.h determine the nested type.

This commit is contained in:
Chen-Pang He 2012-10-15 00:14:32 +08:00
parent fe0ef8e609
commit 23c87fcde6

View File

@ -142,10 +142,6 @@ template<typename Derived, typename MatrixType>
struct traits<MatrixPowerBaseReturnValue<Derived, MatrixType> >
{ typedef MatrixType ReturnType; };
template<typename Derived, typename Lhs, typename Rhs>
struct nested<MatrixPowerProduct<Derived,Lhs,Rhs> >
{ typedef typename MatrixPowerProduct<Derived,Lhs,Rhs>::PlainObject const& type; };
template<typename Derived, typename _Lhs, typename _Rhs>
struct traits<MatrixPowerProduct<Derived,_Lhs,_Rhs> >
{