mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-18 14:34:17 +08:00
unsupported/Eigen/AlignedVector3: dummy_precision is now in NumTraits
This commit is contained in:
parent
d0e8342a04
commit
fc5fa77743
@ -189,7 +189,7 @@ template<typename _Scalar> class AlignedVector3
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename Derived>
|
template<typename Derived>
|
||||||
inline bool isApprox(const MatrixBase<Derived>& other, RealScalar eps=dummy_precision<Scalar>()) const
|
inline bool isApprox(const MatrixBase<Derived>& other, RealScalar eps=NumTraits<Scalar>::dummy_precision()) const
|
||||||
{
|
{
|
||||||
return m_coeffs.template head<3>().isApprox(other,eps);
|
return m_coeffs.template head<3>().isApprox(other,eps);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user