aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/src/IterativeSolvers
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-10-07 16:37:46 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-10-07 16:37:46 +0200
commit131db3c552304e1fa2c9438ec71a99ef32eea54e (patch)
tree3941f28c1f954c52e38910c6c7b8371a7b2e27b7 /unsupported/Eigen/src/IterativeSolvers
parent13294b5152578bf9eb2bfe67f20b8f14f9e755b4 (diff)
Fix return by value versus ref typo in IncompleteCholesky
Diffstat (limited to 'unsupported/Eigen/src/IterativeSolvers')
-rw-r--r--unsupported/Eigen/src/IterativeSolvers/IncompleteCholesky.h2
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