diff options
author | 2018-08-10 17:18:42 -0700 | |
---|---|---|
committer | 2018-08-10 17:18:42 -0700 | |
commit | 855b68896be3c72a1dbfa9ee78433a7c326ecdfb (patch) | |
tree | c3419925dca4796108a6ddacebd244a0d7682c7b /Eigen/src | |
parent | f2209d06e428e0691de71f30fc2db4cb29191cd2 (diff) | |
parent | c8ea39867573b36c72c5342393f4e3ee22ab6406 (diff) |
Merge with eigen/default
Diffstat (limited to 'Eigen/src')
-rw-r--r-- | Eigen/src/LU/FullPivLU.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/LU/FullPivLU.h b/Eigen/src/LU/FullPivLU.h index 50d1bb41b..344ec8926 100644 --- a/Eigen/src/LU/FullPivLU.h +++ b/Eigen/src/LU/FullPivLU.h @@ -53,7 +53,7 @@ template<typename _MatrixType> struct traits<FullPivLU<_MatrixType> > * Output: \verbinclude class_FullPivLU.out * * This class supports the \link InplaceDecomposition inplace decomposition \endlink mechanism. - * + * * \sa MatrixBase::fullPivLu(), MatrixBase::determinant(), MatrixBase::inverse() */ template<typename _MatrixType> class FullPivLU @@ -320,7 +320,7 @@ template<typename _MatrixType> class FullPivLU return m_usePrescribedThreshold ? m_prescribedThreshold // this formula comes from experimenting (see "LU precision tuning" thread on the list) // and turns out to be identical to Higham's formula used already in LDLt. - : NumTraits<Scalar>::epsilon() * m_lu.diagonalSize(); + : NumTraits<Scalar>::epsilon() * RealScalar(m_lu.diagonalSize()); } /** \returns the rank of the matrix of which *this is the LU decomposition. |