mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +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);
|
tau = RealScalar(0);
|
||||||
beta = numext::real(c0);
|
beta = numext::real(c0);
|
||||||
essential.setZero();
|
essential.setZero(size()-1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user