diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-02-25 18:05:57 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-02-25 18:05:57 +0100 |
commit | 12a1313b09bcfdddc2cda311d6cb29b2accc2763 (patch) | |
tree | f0a58aa37bd9f162502f052897c749d3d5790f5f /Eigen/src/SPQRSupport | |
parent | cc35c4425698f8a9b8293af0c02dfc385442ad6b (diff) |
bug #482: pass scalar arguments by const references. Still remains a few cases that might affect the ABI (see the bug entry)
Diffstat (limited to 'Eigen/src/SPQRSupport')
-rw-r--r-- | Eigen/src/SPQRSupport/SuiteSparseQRSupport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h b/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h index d625b0e2f..0ffb894f6 100644 --- a/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +++ b/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h @@ -187,7 +187,7 @@ class SPQR /// Set the fill-reducing ordering method to be used void setSPQROrdering(int ord) { m_ordering = ord;} /// Set the tolerance tol to treat columns with 2-norm < =tol as zero - void setPivotThreshold(RealScalar tol) { m_tolerance = tol; } + void setPivotThreshold(const RealScalar& tol) { m_tolerance = tol; } /** \returns a pointer to the SPQR workspace */ cholmod_common *cholmodCommon() const { return &m_cc; } |