diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-07-31 16:56:31 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-07-31 16:56:31 +0200 |
commit | 55b57fcba6e56bea5c084cc756b50a447985e5c2 (patch) | |
tree | 6b2cf08245de399f8fc5adaf40afbaf7b7d20521 /Eigen/src/Cholesky/LLT.h | |
parent | 6126ad801f89cb88d46ed0dae0d8e9448652c506 (diff) |
Disable some shortcuts with nvcc
Diffstat (limited to 'Eigen/src/Cholesky/LLT.h')
-rw-r--r-- | Eigen/src/Cholesky/LLT.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Eigen/src/Cholesky/LLT.h b/Eigen/src/Cholesky/LLT.h index 2e6189f7d..2201c641e 100644 --- a/Eigen/src/Cholesky/LLT.h +++ b/Eigen/src/Cholesky/LLT.h @@ -465,6 +465,7 @@ MatrixType LLT<MatrixType,_UpLo>::reconstructedMatrix() const return matrixL() * matrixL().adjoint().toDenseMatrix(); } +#ifndef __CUDACC__ /** \cholesky_module * \returns the LLT decomposition of \c *this */ @@ -484,7 +485,8 @@ SelfAdjointView<MatrixType, UpLo>::llt() const { return LLT<PlainObject,UpLo>(m_matrix); } - +#endif // __CUDACC__ + } // end namespace Eigen #endif // EIGEN_LLT_H |