diff --git a/Eigen/src/Householder/Householder.h b/Eigen/src/Householder/Householder.h index 4c1f499a1..31f804a99 100644 --- a/Eigen/src/Householder/Householder.h +++ b/Eigen/src/Householder/Householder.h @@ -77,7 +77,7 @@ void MatrixBase::makeHouseholder( Scalar c0 = coeff(0); const RealScalar tol = (std::numeric_limits::min)(); - if(tailSqNorm <= tol && numext::abs2(numext::imag(c0))<=tol) + if(tailSqNorm <= tol && numext::abs2(c0)<=tol) { tau = RealScalar(0); beta = numext::real(c0);