mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix return by value versus ref typo in IncompleteCholesky
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user