Store permutation's determinant as char.

This also fixes some long to float conversion warnings
This commit is contained in:
Gael Guennebaud
2016-05-26 17:34:23 +02:00
parent 2f56d91063
commit 00c29c2cae
2 changed files with 6 additions and 5 deletions

View File

@@ -418,9 +418,10 @@ template<typename _MatrixType> class FullPivLU
PermutationQType m_q;
IntColVectorType m_rowsTranspositions;
IntRowVectorType m_colsTranspositions;
Index m_det_pq, m_nonzero_pivots;
Index m_nonzero_pivots;
RealScalar m_l1_norm;
RealScalar m_maxpivot, m_prescribedThreshold;
char m_det_pq;
bool m_isInitialized, m_usePrescribedThreshold;
};