mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-03 01:04:23 +08:00
Fix return by value versus ref typo in IncompleteCholesky
This commit is contained in:
parent
13294b5152
commit
131db3c552
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user