Use simplified return type, trying to work around MSVC.

This commit is contained in:
Chen-Pang He 2012-10-03 19:42:02 +08:00
parent 4cfde4590f
commit a5d348e30a

View File

@ -126,7 +126,7 @@ void MatrixPowerTriangular<MatrixType>::compute(const Derived& b, ResultType& re
}
template<typename MatrixType>
typename MatrixPowerTriangular<MatrixType>::Base::RealScalar
typename MatrixPowerTriangular<MatrixType>::RealScalar
MatrixPowerTriangular<MatrixType>::modfAndInit(RealScalar x, RealScalar* intpart)
{
*intpart = std::floor(x);