mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
Backout changeset ce3557ca69
This commit is contained in:
parent
ce3557ca69
commit
ba0f844d6b
@ -77,7 +77,7 @@ void MatrixBase<Derived>::makeHouseholder(
|
|||||||
Scalar c0 = coeff(0);
|
Scalar c0 = coeff(0);
|
||||||
const RealScalar tol = (std::numeric_limits<RealScalar>::min)();
|
const RealScalar tol = (std::numeric_limits<RealScalar>::min)();
|
||||||
|
|
||||||
if(tailSqNorm <= tol && numext::abs2(c0)<=tol)
|
if(tailSqNorm <= tol && numext::abs2(numext::imag(c0))<=tol)
|
||||||
{
|
{
|
||||||
tau = RealScalar(0);
|
tau = RealScalar(0);
|
||||||
beta = numext::real(c0);
|
beta = numext::real(c0);
|
||||||
|
Loading…
Reference in New Issue
Block a user