Use numext::sqrt in Householder.h.

(cherry picked from commit 0e083b172e2e7d7527f15d5c5e8703a8e0f17109)
This commit is contained in:
Antonio Sánchez 2022-06-21 16:29:59 +00:00 committed by Antonio Sanchez
parent 3df7d7fec9
commit b9ac284e52

View File

@ -69,7 +69,7 @@ void MatrixBase<Derived>::makeHouseholder(
Scalar& tau, Scalar& tau,
RealScalar& beta) const RealScalar& beta) const
{ {
using std::sqrt; using numext::sqrt;
using numext::conj; using numext::conj;
EIGEN_STATIC_ASSERT_VECTOR_ONLY(EssentialPart) EIGEN_STATIC_ASSERT_VECTOR_ONLY(EssentialPart)