mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 12:46:00 +08:00
Fix build error in matrixfunctions on MSVC
This commit is contained in:
parent
b3254c9af5
commit
f7e203fb0c
@ -134,7 +134,7 @@ void MatrixPower<MatrixType>::compute(const Derived& b, ResultType& res, RealSca
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename MatrixType>
|
template<typename MatrixType>
|
||||||
typename MatrixPower<MatrixType>::Base::RealScalar MatrixPower<MatrixType>::modfAndInit(RealScalar x, RealScalar* intpart)
|
typename MatrixPower<MatrixType>::RealScalar MatrixPower<MatrixType>::modfAndInit(RealScalar x, RealScalar* intpart)
|
||||||
{
|
{
|
||||||
*intpart = std::floor(x);
|
*intpart = std::floor(x);
|
||||||
RealScalar res = x - *intpart;
|
RealScalar res = x - *intpart;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user