aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src
diff options
context:
space:
mode:
authorGravatar Anton Gladky <gladky.anton@gmail.com>2010-05-28 10:18:37 +0200
committerGravatar Anton Gladky <gladky.anton@gmail.com>2010-05-28 10:18:37 +0200
commit09a1b7f7e1ec09f96dd0f58bb6bc22881e0c76b6 (patch)
tree720f76c9523c1cdd60de9094183b1bffb81bdc06 /Eigen/src
parent39c568445c7c6fa53069eadf79ca01e0b420fbc2 (diff)
Fixes the problem, described here:
Diffstat (limited to 'Eigen/src')
-rw-r--r--Eigen/src/QR/ColPivHouseholderQR.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/src/QR/ColPivHouseholderQR.h b/Eigen/src/QR/ColPivHouseholderQR.h
index b4bcfd529..e0eaf32a9 100644
--- a/Eigen/src/QR/ColPivHouseholderQR.h
+++ b/Eigen/src/QR/ColPivHouseholderQR.h
@@ -286,6 +286,7 @@ template<typename _MatrixType> class ColPivHouseholderQR
{
m_usePrescribedThreshold = true;
m_prescribedThreshold = threshold;
+ return *this;
}
/** Allows to come back to the default behavior, letting Eigen use its default formula for
@@ -299,6 +300,7 @@ template<typename _MatrixType> class ColPivHouseholderQR
ColPivHouseholderQR& setThreshold(Default_t)
{
m_usePrescribedThreshold = false;
+ return *this;
}
/** Returns the threshold that will be used by certain methods such as rank().