diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h index 9947d9007..0226139ae 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h @@ -283,9 +283,8 @@ EIGEN_STRONG_INLINE void MatrixExponential::pade17(const MatrixType template void MatrixExponential::computeUV(float) { - using std::max; + using std::frexp; using std::pow; - using std::ceil; if (m_l1norm < 4.258730016922831e-001) { pade3(m_M); } else if (m_l1norm < 1.880152677804762e+000) { @@ -302,9 +301,8 @@ void MatrixExponential::computeUV(float) template void MatrixExponential::computeUV(double) { - using std::max; + using std::frexp; using std::pow; - using std::ceil; if (m_l1norm < 1.495585217958292e-002) { pade3(m_M); } else if (m_l1norm < 2.539398330063230e-001) { @@ -325,9 +323,8 @@ void MatrixExponential::computeUV(double) template void MatrixExponential::computeUV(long double) { - using std::max; + using std::frexp; using std::pow; - using std::ceil; #if LDBL_MANT_DIG == 53 // double precision computeUV(double()); #elif LDBL_MANT_DIG <= 64 // extended precision