Oops, a block size of 1 is not very useful, set it to 48 as in HouseholderQR

This commit is contained in:
Gael Guennebaud 2014-09-05 08:50:50 +02:00
parent 15bad3670b
commit b23556bbbd

View File

@ -319,7 +319,7 @@ template<typename VectorsType, typename CoeffsType, int Side> class HouseholderS
template<typename Dest, typename Workspace> template<typename Dest, typename Workspace>
inline void applyThisOnTheLeft(Dest& dst, Workspace& workspace) const inline void applyThisOnTheLeft(Dest& dst, Workspace& workspace) const
{ {
const Index BlockSize = 1; const Index BlockSize = 48;
// if the entries are large enough, then apply the reflectors by block // if the entries are large enough, then apply the reflectors by block
if(m_length>BlockSize && dst.cols()>1) if(m_length>BlockSize && dst.cols()>1)
{ {