diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h b/unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h index b6fae9e6d..ba44487d0 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h @@ -154,10 +154,8 @@ struct traits > typedef typename remove_all<_Rhs>::type Rhs; typedef typename remove_all >::type PlainObject; typedef typename scalar_product_traits::ReturnType Scalar; - typedef typename promote_storage_type::StorageKind, - typename traits::StorageKind>::ret StorageKind; - typedef typename promote_index_type::Index, - typename traits::Index>::type Index; + typedef Dense StorageKind; + typedef typename promote_index_type::type Index; enum { RowsAtCompileTime = traits::RowsAtCompileTime,