mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fixes the problem, described here:
http://listengine.tuxfamily.org/lists.tuxfamily.org/eigen/2010/05/msg00154.html
This commit is contained in:
@@ -286,6 +286,7 @@ template<typename _MatrixType> class ColPivHouseholderQR
|
|||||||
{
|
{
|
||||||
m_usePrescribedThreshold = true;
|
m_usePrescribedThreshold = true;
|
||||||
m_prescribedThreshold = threshold;
|
m_prescribedThreshold = threshold;
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Allows to come back to the default behavior, letting Eigen use its default formula for
|
/** 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)
|
ColPivHouseholderQR& setThreshold(Default_t)
|
||||||
{
|
{
|
||||||
m_usePrescribedThreshold = false;
|
m_usePrescribedThreshold = false;
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Returns the threshold that will be used by certain methods such as rank().
|
/** Returns the threshold that will be used by certain methods such as rank().
|
||||||
|
|||||||
Reference in New Issue
Block a user