Make MatrixBase::makeHouseholder resize its output vector if it is zero

This commit is contained in:
Christoph Hertzberg 2014-07-10 14:59:18 +02:00
parent e955725ff1
commit f27f55bee3

View File

@ -80,7 +80,7 @@ void MatrixBase<Derived>::makeHouseholder(
{
tau = RealScalar(0);
beta = numext::real(c0);
essential.setZero();
essential.setZero(size()-1);
}
else
{