Fix comparison to block size

This commit is contained in:
Gael Guennebaud 2014-09-14 17:33:39 +02:00
parent 188a13f9fe
commit af9c9f7706

View File

@ -321,7 +321,7 @@ template<typename VectorsType, typename CoeffsType, int Side> class HouseholderS
{ {
const Index BlockSize = 48; 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)
{ {
for(Index i = 0; i < m_length; i+=BlockSize) for(Index i = 0; i < m_length; i+=BlockSize)
{ {