bug #1112: fix compilation on exotic architectures

This commit is contained in:
Gael Guennebaud 2015-11-27 15:57:18 +01:00
parent 1261d020c3
commit da46b1ed54

View File

@ -348,7 +348,7 @@ void matrix_exp_compute(const MatrixType& arg, ResultType &result)
typedef typename NumTraits<Scalar>::Real RealScalar;
typedef typename std::complex<RealScalar> ComplexScalar;
if (sizeof(RealScalar) > 14) {
result = arg.matrixFunction(StdStemFunctions<ComplexScalar>::exp);
result = arg.matrixFunction(internal::stem_function_exp<ComplexScalar>);
return;
}
#endif