From 551bf5c66a3f29c8ac1f24f8439a6b85d0da79ac Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 18 Feb 2014 10:52:26 +0100 Subject: Get rid of DiagonalProduct --- Eigen/src/Core/MatrixBase.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Eigen/src/Core/MatrixBase.h') diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index 37e7408a4..6453145d0 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -215,10 +215,17 @@ template class MatrixBase template void applyOnTheRight(const EigenBase& other); +#ifndef EIGEN_TEST_EVALUATORS template EIGEN_DEVICE_FUNC const DiagonalProduct operator*(const DiagonalBase &diagonal) const; +#else // EIGEN_TEST_EVALUATORS + template + EIGEN_DEVICE_FUNC + const Product + operator*(const DiagonalBase &diagonal) const; +#endif // EIGEN_TEST_EVALUATORS template EIGEN_DEVICE_FUNC -- cgit v1.2.3