mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
Make MatrixBase::makeHouseholder resize its output vector if it is zero
This commit is contained in:
parent
e955725ff1
commit
f27f55bee3
@ -80,7 +80,7 @@ void MatrixBase<Derived>::makeHouseholder(
|
||||
{
|
||||
tau = RealScalar(0);
|
||||
beta = numext::real(c0);
|
||||
essential.setZero();
|
||||
essential.setZero(size()-1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user