diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h index b37481cbe..14a8aef58 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h @@ -348,7 +348,7 @@ void matrix_exp_compute(const MatrixType& arg, ResultType &result) typedef typename NumTraits::Real RealScalar; typedef typename std::complex ComplexScalar; if (sizeof(RealScalar) > 14) { - result = arg.matrixFunction(StdStemFunctions::exp); + result = arg.matrixFunction(internal::stem_function_exp); return; } #endif