diff options
author | 2012-09-25 09:53:40 +0200 | |
---|---|---|
committer | 2012-09-25 09:53:40 +0200 | |
commit | a01371548dc66ee8cbfac8effd5f560bf5d5697a (patch) | |
tree | 67ff5e2b68f97f534cb48161821257260e6a908a /unsupported | |
parent | 7740127e3da88512d409bf0b2a045f373d067af1 (diff) |
Define sparseLU functions as static
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Eigen/src/IterativeSolvers/IncompleteCholesky.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unsupported/Eigen/src/IterativeSolvers/IncompleteCholesky.h b/unsupported/Eigen/src/IterativeSolvers/IncompleteCholesky.h index bdd494f26..5bc41c0f8 100644 --- a/unsupported/Eigen/src/IterativeSolvers/IncompleteCholesky.h +++ b/unsupported/Eigen/src/IterativeSolvers/IncompleteCholesky.h @@ -118,7 +118,7 @@ void IncompleteCholesky<Scalar,_UpLo, OrderingType>::factorize(const _MatrixType { eigen_assert(m_analysisIsOk && "analyzePattern() should be called first"); - // FIXME Stability: We should probably compute the scaling factors and the shifts that are needed to ensure an efficient LLT preconditioner. + // FIXME Stability: We should probably compute the scaling factors and the shifts that are needed to ensure a succesful LLT factorization and an efficient preconditioner. // Dropping strategies : Keep only the p largest elements per column, where p is the number of elements in the column of the original matrix. Other strategies will be added @@ -177,8 +177,8 @@ void IncompleteCholesky<Scalar,_UpLo, OrderingType>::factorize(const _MatrixType // p is the original number of elements in the column (without the diagonal) int p = colPtr[j+1] - colPtr[j] - 2 ; internal::QuickSplit(curCol, irow, p); - if(RealScalar(diag) <= 0) - { + if(RealScalar(diag) <= 0) + { //FIXME We can use heuristics (Kershaw, 1978 or above reference ) to get a dynamic shift m_info = NumericalIssue; return; } |