diff options
-rw-r--r-- | unsupported/Eigen/src/IterativeSolvers/IncompleteCholesky.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/src/IterativeSolvers/IncompleteCholesky.h b/unsupported/Eigen/src/IterativeSolvers/IncompleteCholesky.h index 388e6bfaa..29617f2ca 100644 --- a/unsupported/Eigen/src/IterativeSolvers/IncompleteCholesky.h +++ b/unsupported/Eigen/src/IterativeSolvers/IncompleteCholesky.h @@ -125,7 +125,7 @@ class IncompleteCholesky : public SparseSolverBase<IncompleteCholesky<Scalar,_Up const VectorRx& scalingS() const { return m_scale; } /** \returns the fill-in reducing permutation P (can be empty for a natural ordering) */ - const PermutationType permutationP() const { return m_perm; } + const PermutationType& permutationP() const { return m_perm; } protected: FactorType m_L; // The lower part stored in CSC |