From 67bfba07fde58e0cc983486f49e79fc29fbeee49 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 8 Oct 2015 16:30:28 +0200 Subject: [PATCH] Fix some CUDA issues --- Eigen/src/Core/VectorwiseOp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Eigen/src/Core/VectorwiseOp.h b/Eigen/src/Core/VectorwiseOp.h index 5de53732e..dbc272dae 100644 --- a/Eigen/src/Core/VectorwiseOp.h +++ b/Eigen/src/Core/VectorwiseOp.h @@ -70,7 +70,10 @@ class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr class VectorwiseOp * Output: \verbinclude PartialRedux_norm.out * * \sa DenseBase::norm() */ - EIGEN_DEVICE_FUNC template + EIGEN_DEVICE_FUNC const typename LpNormReturnType

::Type lpNorm() const { return typename LpNormReturnType

::Type(_expression()); }