add missing return *this

This commit is contained in:
Gael Guennebaud 2012-01-31 23:11:13 +01:00
parent 9a954d29ec
commit 13e46ad847

View File

@ -282,6 +282,7 @@ template<typename _MatrixType> class FullPivLU
FullPivLU& setThreshold(Default_t) FullPivLU& 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().