mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-24 14:45:14 +08:00
Use simplified return type, trying to work around MSVC.
This commit is contained in:
parent
4cfde4590f
commit
a5d348e30a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user