mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-16 05:35:57 +08:00
Make MatrixBase::makeHouseholder resize its output vector if it is zero
(transplanted from f27f55bee3efc2cafd01cb07d3faadf7eb490f66 )
This commit is contained in:
parent
6ff72f40cf
commit
9d3e0da385
@ -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