Backout changeset ce3557ca69

This commit is contained in:
Gael Guennebaud 2016-09-22 22:28:51 +02:00
parent ce3557ca69
commit ba0f844d6b

View File

@ -77,7 +77,7 @@ void MatrixBase<Derived>::makeHouseholder(
Scalar c0 = coeff(0);
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);
beta = numext::real(c0);