aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Cholesky
diff options
context:
space:
mode:
authorGravatar acxz <5379597-acxz@users.noreply.gitlab.com>2020-12-01 03:08:47 +0000
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2020-12-01 03:08:47 +0000
commit7b80609d496ae50741d1866f2a9ef9149c4edc04 (patch)
tree7c2f5707d920570ea98b96bf46fd9d1e2bb70eac /Eigen/src/Cholesky
parent89f90b585d24b3c07946b4ffd8064e66ad5af94a (diff)
add EIGEN_DEVICE_FUNC to methods
Diffstat (limited to 'Eigen/src/Cholesky')
-rw-r--r--Eigen/src/Cholesky/LDLT.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Cholesky/LDLT.h b/Eigen/src/Cholesky/LDLT.h
index 67e97ffb8..492cd5a95 100644
--- a/Eigen/src/Cholesky/LDLT.h
+++ b/Eigen/src/Cholesky/LDLT.h
@@ -53,7 +53,7 @@ namespace internal {
* decomposition to determine whether a system of equations has a solution.
*
* This class supports the \link InplaceDecomposition inplace decomposition \endlink mechanism.
- *
+ *
* \sa MatrixBase::ldlt(), SelfAdjointView::ldlt(), class LLT
*/
template<typename _MatrixType, int _UpLo> class LDLT
@@ -246,8 +246,8 @@ template<typename _MatrixType, int _UpLo> class LDLT
*/
const LDLT& adjoint() const { return *this; };
- inline Index rows() const { return m_matrix.rows(); }
- inline Index cols() const { return m_matrix.cols(); }
+ EIGEN_DEVICE_FUNC inline Index rows() const { return m_matrix.rows(); }
+ EIGEN_DEVICE_FUNC inline Index cols() const { return m_matrix.cols(); }
/** \brief Reports whether previous computation was successful.
*