diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h b/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h index 996c24240..6e8b03cea 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h @@ -316,6 +316,13 @@ class MatrixPowerReturnValue : public ReturnByValue const MatrixPowerMatrixProduct operator*(const MatrixBase& b) const { return MatrixPowerMatrixProduct(m_pow, b.derived(), m_p); } @@ -343,7 +350,7 @@ template struct traits > : traits,Lhs,Rhs> > { }; -} +} // namespace internal template const MatrixPowerReturnValue MatrixBase::pow(RealScalar p) const