aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Eigen/src/Core/NoAlias.h4
-rw-r--r--unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h15
2 files changed, 0 insertions, 19 deletions
diff --git a/Eigen/src/Core/NoAlias.h b/Eigen/src/Core/NoAlias.h
index ac1396f68..0112c865b 100644
--- a/Eigen/src/Core/NoAlias.h
+++ b/Eigen/src/Core/NoAlias.h
@@ -80,10 +80,6 @@ class NoAlias
template<typename Lhs, typename Rhs, int NestingFlags>
EIGEN_STRONG_INLINE ExpressionType& operator-=(const CoeffBasedProduct<Lhs,Rhs,NestingFlags>& other)
{ return m_expression.derived() -= CoeffBasedProduct<Lhs,Rhs,NestByRefBit>(other.lhs(), other.rhs()); }
-
- template<typename Derived, typename Lhs, typename Rhs>
- EIGEN_STRONG_INLINE ExpressionType& operator=(const MatrixPowerProductBase<Derived,Lhs,Rhs>& other)
- { other.derived().evalTo(m_expression); return m_expression; }
#endif
ExpressionType& expression() const
diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h b/unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h
index 28617ff6f..a809609d5 100644
--- a/unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h
+++ b/unsupported/Eigen/src/MatrixFunctions/MatrixPowerBase.h
@@ -250,26 +250,11 @@ class MatrixPowerProductBase : public MatrixBase<Derived>
typedef MatrixBase<Derived> Base;
EIGEN_DENSE_PUBLIC_INTERFACE(MatrixPowerProductBase)
- typedef typename Base::PlainObject PlainObject;
-
inline Index rows() const { return derived().rows(); }
inline Index cols() const { return derived().cols(); }
template<typename ResultType>
inline void evalTo(ResultType& res) const { derived().evalTo(res); }
-
- const PlainObject& eval() const
- {
- m_result.resize(rows(), cols());
- derived().evalTo(m_result);
- return m_result;
- }
-
- operator const PlainObject&() const
- { return eval(); }
-
- protected:
- mutable PlainObject m_result;
};
template<typename Derived>