diff --git a/Eigen/src/Core/SelfAdjointView.h b/Eigen/src/Core/SelfAdjointView.h index 9e6026304..6b1124718 100644 --- a/Eigen/src/Core/SelfAdjointView.h +++ b/Eigen/src/Core/SelfAdjointView.h @@ -218,8 +218,8 @@ template class SelfAdjointView typedef SelfAdjointView TransposeReturnType; /** \sa MatrixBase::transpose() */ - EIGEN_DEVICE_FUNC template + EIGEN_DEVICE_FUNC inline TransposeReturnType transpose(typename internal::enable_if::value, Dummy*>::type = nullptr) { typename MatrixType::TransposeReturnType tmp(m_matrix); diff --git a/Eigen/src/Core/TriangularMatrix.h b/Eigen/src/Core/TriangularMatrix.h index 34c072f32..9376a79a1 100644 --- a/Eigen/src/Core/TriangularMatrix.h +++ b/Eigen/src/Core/TriangularMatrix.h @@ -264,8 +264,8 @@ template class TriangularView typedef TriangularView TransposeReturnType; /** \sa MatrixBase::transpose() */ - EIGEN_DEVICE_FUNC template + EIGEN_DEVICE_FUNC inline TransposeReturnType transpose(typename internal::enable_if::value, Dummy*>::type = nullptr) { typename MatrixType::TransposeReturnType tmp(m_matrix);