mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-03 18:24:02 +08:00
fix compilation (forgot to update that file after last big change)
This commit is contained in:
parent
2ee68a074e
commit
6da4d9d256
@ -5,13 +5,15 @@ using namespace std;
|
||||
template<typename Derived>
|
||||
const Eigen::CwiseUnaryOp<
|
||||
Eigen::ScalarCastOp<
|
||||
typename Eigen::NumTraits< typename Eigen::Scalar<Derived>::Type >::FloatingPoint
|
||||
typename Eigen::NumTraits<typename Derived::Scalar>::FloatingPoint
|
||||
>, Derived
|
||||
>
|
||||
castToFloatingPoint(const MatrixBase<Derived>& m)
|
||||
{
|
||||
return m.template cast<typename Eigen::NumTraits<
|
||||
typename Eigen::Scalar<Derived>::Type>::FloatingPoint
|
||||
return m.template cast<
|
||||
typename Eigen::NumTraits<
|
||||
typename Derived::Scalar
|
||||
>::FloatingPoint
|
||||
>();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user